# Draggable windows

**URL:** <https://forum.kirupa.com/t/draggable-windows/98640>\
**Category:** Uncategorized\
**Created:** [January 9, 2004, 6:03am UTC](https://forum.kirupa.com/t/draggable-windows/98640 "2004-01-09T06:03:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hzane](https://avatars.discourse-cdn.com/v4/letter/h/a8b319/32.png) [@hzane](https://forum.kirupa.com/u/hzane)\
**Post date:** [January 9, 2004, 6:03am UTC](https://forum.kirupa.com/t/draggable-windows/98640/1 "2004-01-09T06:03:35Z")

</div>

hey folks what am i doing wrong?

I have a gif as my primary scene - I am simply trying to make a button w/ graphics in it and the following AS attached to the button:

on (press) {  
startDrag ("");  
}

on (release) {  
stopDrag ();  
}

but when i test it instead of the object dragging the object works like a handle and drags my gif around the screen instead of just the button…

Why is this???
