set drag mode (draggable / not draggable) — Scratch Block Guide
Allows or prevents players from dragging a sprite directly with the mouse in full-screen play mode.
What this block does
Allows or prevents players from dragging a sprite directly with the mouse in full-screen play mode.
Enable for dress-up games, jigsaw puzzles, and drag-and-drop sorting quizzes.
- Category: Sensing Blocks
- Key tip: Keep "not draggable" for action games so players cannot cheat by dragging past walls.
Working Scratch example
Try building this small script in the Scratch editor, predict what will happen, then click the green flag to test it.
- When green flag clicked
- Set drag mode draggable
Try it: Players can pick up and move the sprite freely on the stage.
Related block guides
Explore other blocks in the same category or return to the full English Block Dictionary.
FAQ
When should I use "set drag mode (draggable / not draggable)" in Scratch?
Enable for dress-up games, jigsaw puzzles, and drag-and-drop sorting quizzes. Keep "not draggable" for action games so players cannot cheat by dragging past walls.
This guide is provided for educational purposes. Scratch screens and terms may change over time, so please check the official Scratch website as well.