ScratchData LogoScratchData
Back to Failord's profile

How to make a better (coded) draggable sprite!

FAFailord•Created April 30, 2013
How to make a better (coded) draggable sprite!
10
10
695 views
View on Scratch

Instructions

Drag the Scratch Cat- with code! See inside to look at how it's done. Press Space to compare it to an old sample sprite, then press b once you're tired of it.

Description

*2023 UPDATE* I get that there is a "sprite drag mode [draggable]" block now. Honestly, I think that is awesome that they did that. However, sometimes you may need to work around the built-in draggability depending on what you are doing with the project. *Old notes* Okay, it might appear kind of unnecessary, I know, but what if you want to turn draggability on or off in your scripts? How about keeping the sprite's layer constant? And scripts running during dragging? That's what this is for. Drag him by his foot, drag him by his head, drag him with his tail... You can even drag him with his whisker! No nauseating jumping to the center point! In fact, this should be a sample sprite or something... Perhaps a sample project?

Project Details

Project ID10124057
CreatedApril 30, 2013
Last ModifiedApril 20, 2023
SharedApril 30, 2013
Visibilityvisible
CommentsAllowed