# Drag and attach to object

**URL:** <https://forum.kirupa.com/t/drag-and-attach-to-object/187287>\
**Category:** Uncategorized\
**Created:** [April 28, 2006, 2:26am UTC](https://forum.kirupa.com/t/drag-and-attach-to-object/187287 "2006-04-28T02:26:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lummoxcooties](https://avatars.discourse-cdn.com/v4/letter/l/c5a1d2/32.png) [@lummoxcooties](https://forum.kirupa.com/u/lummoxcooties)\
**Post date:** [April 28, 2006, 2:26am UTC](https://forum.kirupa.com/t/drag-and-attach-to-object/187287/1 "2006-04-28T02:26:47Z")

</div>

I am trying to create some scripting to make an object (bandage) to be draggable, then be able to pickup/stick/attach to another object (an egg)

[http://wcedu.pima.edu/~jekloff/Project5.swf](http://wcedu.pima.edu/%7Ejekloff/Project5.swf) is my swf file. If you look at it, I basically want it to perform the same thing as the embedded movie I put in the swf. I assume there has to be some collision detection, but I dont know where to start. All I have is a draggable bandaid.

Any help appreciated.
