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

Start learning →

erase all (Pen) — Scratch Block Guide

📌 What you will learn

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.

Example using erase all (Pen)
  1. When green flag clicked
  2. Erase all
  3. 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.

Back to Extensions See the overview and patterns for Extensions. 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 "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.