From Test-Scratch-Wiki

Change Pen Shade by ()
2.0 Change Pen Shade by ().png
Category Pen
Type Stack

The Change Pen Shade by () block is a Pen block and a Stack block. The block changes the pen's shade by the specified amount.

Example Uses

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)
  • 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)

Workaround

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.

See Also

Cookies help us deliver our services. By using our services, you agree to our use of cookies.