Eng:Pen Shade (value)

Pen shade is a value given to all sprites. 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 animation, drawing, and much more. To change it, you 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:
 * Set Pen Shade to  This block will set the shade
 * Change Pen Shade by  This block will change the value

Another block is wanted by many Scratchers, a reporter block called "pen shade" that reports the pen shade.