# Two drop targets at once?

**URL:** <https://forum.kirupa.com/t/two-drop-targets-at-once/226206>\
**Category:** flash\
**Created:** [May 18, 2007, 8:44pm UTC](https://forum.kirupa.com/t/two-drop-targets-at-once/226206 "2007-05-18T20:44:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimjiminyjimjim](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@jimjiminyjimjim](https://forum.kirupa.com/u/jimjiminyjimjim)\
**Post date:** [May 18, 2007, 8:44pm UTC](https://forum.kirupa.com/t/two-drop-targets-at-once/226206/1 "2007-05-18T20:44:16Z")

</div>

I’m using this actionscript at the moment:

```auto

if (_root.pin2._droptarget == "/container/mcDraw"){

```

but is it possible to have two droptargets so that the actions are only carried out when the drag object is dropped within the bounds of two different movieclips? i.e when all three are overlapping.
