Archive.png This article or section documents a feature not included in the current version of Scratch (3.0). It is only useful from a historical perspective.

The Draggable Sprite feature in Scratch was a tool that makes a sprite draggable online without need for scripting. It was removed in Scratch 3.0, due to the new set drag mode [ v] block.

Access

The area that was clicked to toggle the feature on and off.
The tool is turned off by default. To turn it on, one looked in the sprite pane, clicked the "i" by a sprite, then clicked the checkbox, as shown at the left.

While it is easy to access, many Scratchers would like it to be more visible.[1]

Workaround

Sometimes, it was necessary to have a sprite that is only draggable sometimes or drags in a special way. Scripts can be used to make a sprite draggable and are much more flexible than the Draggable Sprite feature. One script that can be used to make a sprite draggable is this:

when this sprite clicked
repeat until <not <<mouse down?> and <touching [mouse-pointer? v]>>
go to x: (mouse x) y: (mouse y)

The Set Drag Mode () released in 3.0 made it possible to set the drag mode using a single block.

Example Uses

The tool had many uses, the most popular of which were:

  • Quicker project testing
  • Reduced scripts (very useful in One Sprite One Script Projects)
  • "Drag and drop" games
  • Paint projects where a paintbrush, pen, or pencil was moved around
  • Dress-up and makeup projects
  • Customization projects, such as scene creators

References

  1. post:1598594