# StartDrag and setting boundaries

**URL:** <https://forum.kirupa.com/t/startdrag-and-setting-boundaries/189191>\
**Category:** flash\
**Created:** [May 14, 2006, 11:20pm UTC](https://forum.kirupa.com/t/startdrag-and-setting-boundaries/189191 "2006-05-14T23:20:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![leraptor](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/leraptor/32/2353_2.png) [@leraptor](https://forum.kirupa.com/u/leraptor)\
**Post date:** [May 14, 2006, 11:20pm UTC](https://forum.kirupa.com/t/startdrag-and-setting-boundaries/189191/1 "2006-05-14T23:20:19Z")

</div>

Hey guys!  
I have a movie clip that can only move to certain parts in the stage. For this I used another movie clip that supposedly should constitue the rectangle constraint. But this doesn’t seem to work !

startDrag(this,true,bounds.\_x,bounds.\_y,bounds.\_x+bounds.\_width,bounds.\_y+bounds.\_height);

Any help please ?
