erase all (Pen) — Scratch Block Guide
Clears all pen strokes and stamps drawn on the stage.
What this block does
Clears all pen strokes and stamps drawn on the stage.
Call at the start of every frame in pen-based 3D or drawing games.
- Category: Extensions
- Key tip: Erases pen marks from all sprites at once.
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
- Erase all
- Go to x: 0 y: 0
Try it: Starts with a fresh blank canvas every run.
Related block guides
Explore other blocks in the same category or return to the full English Block Dictionary.
FAQ
When should I use "erase all (Pen)" in Scratch?
Call at the start of every frame in pen-based 3D or drawing games. Erases pen marks from all sprites at once.
This guide is provided for educational purposes. Scratch screens and terms may change over time, so please check the official Scratch website as well.