- "Set Pen Color to ()" redirects here. For the obsolete block with a number input, see Set Pen Color to () (number input block).
|Set Pen Color to ()|
As this block can change the pen's color, it is mainly used when the pen is drawing something and a different color is desired.
Some common uses for the Set Pen Color to () block are:
- Creating different objects by using different pen colors (such as a tile that can be colored to look like ice or fire)
set pen color to [#cd4f39] repeat (360) move (1) steps turn cw (1) degrees end
- Choosing the color of objects drawn by the pen
set pen color to [#c3e452] repeat until <not <mouse down?>> go to [mouse-pointer v] end