NEW Explore the Scratch Block Dictionary, tutorials, textbook, and classroom guides

Start learning →

mouse down? — Scratch Block Guide

📌 What you will learn

Returns true while the primary mouse button is held or a touchscreen is pressed.

What this block does

Returns true while the primary mouse button is held or a touchscreen is pressed.

Powers drawing apps (Pen down while mouse down), charge shots, and slingshots.

  • Category: Sensing Blocks
  • Key tip: Works seamlessly with finger touches on tablets.

Working Scratch example

Try building this small script in the Scratch editor, predict what will happen, then click the green flag to test it.

Example using mouse down?
  1. When green flag clicked
  2. Forever
  3. Go to mouse-pointer
  4. If mouse down? then
  5. Pen down
  6. Else
  7. Pen up

Try it: Turns the stage into a freehand drawing canvas.

Related block guides

Explore other blocks in the same category or return to the full English Block Dictionary.

Back to Sensing Blocks See the overview and patterns for Sensing Blocks. Learn more → Scratch Block Dictionary (All Categories) Browse Motion, Looks, Sound, Events, Control, Sensing, Operators, Variables, and Extensions. Learn more →

FAQ

When should I use "mouse down?" in Scratch?

Powers drawing apps (Pen down while mouse down), charge shots, and slingshots. Works seamlessly with finger touches on tablets.

This guide is provided for educational purposes. Scratch screens and terms may change over time, so please check the official Scratch website as well.