Try this: on enterframe repeat while the mousedown v = the mousev --replace the less than and greater than values with the appropriate values if v < 100 then put 100 into v end if if v > 500 then put 500 into v end if sprite(yoursprite).locv = v updatestage end repeat end HTH Jim [EMAIL PROTECTED] From: Colby Dodson <[EMAIL PROTECTED]> Subject: <lingo-l> dragging sprite I am want to drag a sprite the the mouse I have to simple drag script working but I want to be able to drag it vertically only and be able to set boundaries of how far I can drag it on the stage. Can anyone help? [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]) Lingo-L is for learning and helping with programming Lingo. Thanks!]