Click the lock on the sprite. It will make the sprite draggabble.
Offline
MaxtheWeirdo wrote:
Click the lock on the sprite. It will make the sprite draggabble.
To add onto this, the lock is above the Scripts pane, where it shows all the information on the sprite such as the name and direction.
Or, if you need to sprite to only be draggable at certain times, you can use this script:
When Green flag clicked forever if < <touching mouse pointer> and <mouse down> > repeat until <not <mouse down> > go to mouse-pointer end repeat end if end forever
Offline
Adding to coolstuff's post, this is his code in block form:
Plus, coolstuff, you made a bbcode typo in http://scratch.mit.edu/forums/viewtopic.php?id=40174.
Last edited by ihaveamac (2010-07-11 13:17:21)
Offline
coolstuff wrote:
Or, if you need to sprite to only be draggable at certain times, you can use this script:
"Go to mouse pointer" makes the sprite align it's center with the mouse - Since you won't click the center of the sprite, it will 'jump.' If you don't want the sprite to do that, you can do this:
Last edited by Harakou (2010-07-11 13:27:52)
Offline