Changing pen shade, from 0 to 100, with the color as red.
Pen shade is a value given to all sprites, that defines the darkness/lightness of the pen's color. The default is 50 (the set color), but can be changed with the pen shade blocks.

Use in Scripts

Pen shade can be used in any projects that use the Pen. To change it, raise or lower the value. A pen shade of 0 is completely black, a pen shade of 100 is completely white, and a pen shade of 50 is the pure color. Values between 0 and 50 mix the color with black, and values between 50 and 100 mix the color with white. If the value is greater than 100, every 100 it alternates, being that 100-200 goes white to black, and 200-300 goes black to white. Thus, the value is the same modulo 200; changing the shade by 200 or any multiple of 200 will have no effect.

Related Blocks

A sprite's pen shade can be altered with these blocks, all found in the Pen Blocks palette:

See Also