|Change Pen Color by ()|
Behind the Scenes
This block cannot be replicated with other Scratch blocks, due to the fact that there is no block that holds the pen color. However, if the block existed, the Change Pen Color by () block could be replicated with the following code:
Nevertheless, that is how Scratch itself does it.
In projects that use the pen, the pen must have a certain color - this block can change it.
Some common uses for the Change Pen Color by () block:
- Repeatedly changing the pen color while the pen is being used to create colorful art
- Changing pen colors for an art program
- In projects that draw objects with the pen, changing the color of the object(s)