# Need some advice on drag,drop,droptarget etc

**URL:** <https://forum.kirupa.com/t/need-some-advice-on-drag-drop-droptarget-etc/181479>\
**Category:** Uncategorized\
**Created:** [March 9, 2006, 5:50pm UTC](https://forum.kirupa.com/t/need-some-advice-on-drag-drop-droptarget-etc/181479 "2006-03-09T17:50:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mojo\_jojo](https://avatars.discourse-cdn.com/v4/letter/m/ccd318/32.png) [@mojo\_jojo](https://forum.kirupa.com/u/mojo_jojo)\
**Post date:** [March 9, 2006, 5:50pm UTC](https://forum.kirupa.com/t/need-some-advice-on-drag-drop-droptarget-etc/181479/1 "2006-03-09T17:50:16Z")

</div>

im currently making a small flash file in which you drag the hands of a character over an item to access it. The drag and drop works fine, but the collision, or droptarget, isnt working, the hand can go onto the item (in this case a large green box) but it doesnt do what i tell it to do (or what i think im telling it to do). in other words, the square doesnt change colour when i drag the hand onto it.  
i’d really appreciate some help.

aaanyway.  
code on button (Symbol 1 - no instance name) which is inside a MC (hand - hand)

```auto
 }
on (press) {
	startDrag(this);
}

on (release) {
	stopDrag();
	if (root.hand_droptarget == "/images") {
		_root.computer.gotoandStop("green");
	}

```

The “images” is simply a square MC i used to test the idea. Inside the MC is a stop(); on the 1st frame and on the 5th a named frame called “green” where the square changes colour.
