# Not sure how I would do this

**URL:** <https://forum.kirupa.com/t/not-sure-how-i-would-do-this/283399>\
**Category:** Uncategorized\
**Created:** [March 5, 2009, 5:11pm UTC](https://forum.kirupa.com/t/not-sure-how-i-would-do-this/283399 "2009-03-05T17:11:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![michdd](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@michdd](https://forum.kirupa.com/u/michdd)\
**Post date:** [March 5, 2009, 5:11pm UTC](https://forum.kirupa.com/t/not-sure-how-i-would-do-this/283399/1 "2009-03-05T17:11:14Z")

</div>

I have a map editor where there are tiles in the form of MovieClip. Then there are tiles on the side that you can choose from. Once you select a tile and click on a tile on the map it will change to that tile. But I would also be able to click and hold the mouse to change multiple tiles at once (the ones that I drag over while the mouse is down). Now the whole map is on one big movieclip. Could I just set a click event listener on the whole map, then add another event listener for mouse over on the tiles itself? Or is there a better way to go about this?
