# How to Build a Mouse Drawing / Paint App in Scratch > Follow the mouse pointer and toggle pen down/up based on mouse-down. Learn how to build a mouse drawing / paint app in Scratch with clean block recipes, testing tips, and related guides. ## Minimal Working Block Recipe Follow the mouse pointer and toggle pen down/up based on mouse-down. Test this minimal version first, then tune numbers like speed, gravity, or timing to match your game feel. **Build a Mouse Drawing / Paint App script** - forever -> go to [mouse-pointer] - if then pen down else pen up Try it: Add color swatches and pen size sliders for a full paint app. ## 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/projects/): Explore full mechanics and variations. - [All 120 Scratch How-To Recipes](/en/howto/): Return to the reverse lookup index. Updated: 2026-11-24 Author: [Takamasa Suzuki](https://scratch.gmnavi.jp/about/author/) Japanese Edition: https://scratch.gmnavi.jp/howto/mouse-paint/ [Scratch Daizen (English)](https://scratch.gmnavi.jp/en/)