# How to Make a Sprite Draggable with the Mouse in Scratch > Use set drag mode draggable or track mouse-down inside a repeat-until loop. Learn how to make a sprite draggable with the mouse in Scratch with clean block recipes, testing tips, and related guides. ## Minimal Working Block Recipe Use set drag mode draggable or track mouse-down inside a repeat-until loop. Test this minimal version first, then tune numbers like speed, gravity, or timing to match your game feel. **Make a Sprite Draggable with the Mouse script** - set drag mode [draggable] - or: when this sprite clicked -> repeat until > go to [mouse-pointer] Try it: Ideal for puzzles, dress-up, and sorting games. ## Debugging Checklist & Next Steps If it behaves unexpectedly, verify initial variable resets on the green flag and check that continuous checks sit inside a forever loop. - [Related Deep-Dive Guide](/en/dictionary/sensing/set-drag-mode/): Explore full mechanics and variations. - [All 120 Scratch How-To Recipes](/en/howto/): Return to the reverse lookup index. Updated: 2026-11-23 Author: [Takamasa Suzuki](https://scratch.gmnavi.jp/about/author/) Japanese Edition: https://scratch.gmnavi.jp/howto/drag-drop/ [Scratch Daizen (English)](https://scratch.gmnavi.jp/en/)