set pen size to (1) — Scratch Block Guide
Sets the stroke thickness in pixels (1 = thin, 20+ = thick marker).
What this block does
Sets the stroke thickness in pixels (1 = thin, 20+ = thick marker).
Create brush-size sliders in drawing apps or thick glowing laser beams.
- Category: Extensions
- Key tip: Even without moving, pen down + pen up stamps a neat circle of that diameter.
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
- Set pen size to 12
- Pen down
- Move 100 steps
Try it: Draws a thick 12-pixel stroke.
Related block guides
Explore other blocks in the same category or return to the full English Block Dictionary.
FAQ
When should I use "set pen size to (1)" in Scratch?
Create brush-size sliders in drawing apps or thick glowing laser beams. Even without moving, pen down + pen up stamps a neat circle of that diameter.
This guide is provided for educational purposes. Scratch screens and terms may change over time, so please check the official Scratch website as well.