Clock.png This article or section contains information about a feature from a future version of Scratch that is unreleased and is subject to change. Please cite any additional info in order to prevent speculation.
Document stub.png This article is a stub. It may be incomplete, unfinished, or have missing parts/sections. If the article can be expanded, please do so! There may be suggestions on its talk page. (December 2017)
Set Pen () to ()
3.0 Pen Set pen color to (input).png
Category Pen Extension
Type Stack
Introduced in 3.0

Set Pen () to () block is a pen extension block and a Stack block that is coming in Scratch 3.0. This block sets the pen's color, saturation, brightness (also known as shade), and transparency. The first value can be selected from "color" (default), "saturation", "brightness", and "transparency".


  • Use the color the user answered.

Get Color and Set.png

  • Set a random color

Set random color.png

See also