# Opposite of currentTarget

**URL:** <https://forum.kirupa.com/t/opposite-of-currenttarget/330999>\
**Category:** Uncategorized\
**Created:** [April 23, 2013, 8:09pm UTC](https://forum.kirupa.com/t/opposite-of-currenttarget/330999 "2013-04-23T20:09:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BindleStick](https://avatars.discourse-cdn.com/v4/letter/b/8491ac/32.png) [@BindleStick](https://forum.kirupa.com/u/BindleStick)\
**Post date:** [April 23, 2013, 8:09pm UTC](https://forum.kirupa.com/t/opposite-of-currenttarget/330999/1 "2013-04-23T20:09:52Z")

</div>

Hello all!

On my screen are tiles generated from an array. I have a mouse roll over function that basically adds a movieclip which highlights the edge of the tiles(Frame 1 of that MC) and a mouse click function that makes the edges glow(Frame 2 of that MC). What I want to do is when click a tile, it will glow, then click on a different tile, and make the second tile glow, but not the first tile anymore.

Since the tiles are generated, I have event.currentTarget, but I feel that whatever I do, it will only affect the tile I click. Just wondering if there was a way to check if a tile isn’t the currentTarget, and then do something otherwise. I can post my code if needed.
