|This article or section documents something not included in the current version of Scratch (3.0). It is only useful from a historical perspective.|
|Change Pen Shade by ()|
In art projects, the pen that the viewer controls might want to be pressed harder or lighter — this block does the job.
Some common uses for the Change Pen Shade by () block:
- Repeatedly changing the pen shade while the pen is being used to create art with different shades
forever change pen shade by (1) end
- Changing pen shades for an art program
ask [Change shade by what amount?] and wait change pen shade by (answer)
- In projects that draw objects with the pen, changing the shade of the object(s)
repeat (200) move (1) steps change pen shade by (1) end
This block cannot be replicated with other Scratch blocks, due to the fact that there is no block that holds the pen shade.
However, if the block existed, the Change Pen Shade by () block could be replicated with the following code:
set pen shade to ((pen shade) + (amount))
Nevertheless, that is how Scratch itself does it.