# Easiest Way To Solve This?

**URL:** <https://forum.kirupa.com/t/easiest-way-to-solve-this/294175>\
**Category:** flash\
**Created:** [August 10, 2009, 2:04pm UTC](https://forum.kirupa.com/t/easiest-way-to-solve-this/294175 "2009-08-10T14:04:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![popnfresh24](https://avatars.discourse-cdn.com/v4/letter/p/87869e/32.png) [@popnfresh24](https://forum.kirupa.com/u/popnfresh24)\
**Post date:** [August 10, 2009, 2:04pm UTC](https://forum.kirupa.com/t/easiest-way-to-solve-this/294175/1 "2009-08-10T14:04:52Z")

</div>

I have 34 movieclips which are all dragable… they can be dragged to any of 5 different targets… but i need a way so that if there is a movieclip already in one of the targets then it’ll return to it’s original place and the new one will now be in the target

so movieclip A is in the target… but movieclip B is now dragged onto the target… so movieclip A now returns to it’s original spot…

i can make them return… to their original spot if they aren’t inside a target… but i don’t know how to make it return if another movieclip takes it’s place…

thank you
