From Test-Scratch-Wiki

Set Pen Shade to ()
2.0 Set Pen Shade to ().png
Category Pen
Type Stack

The Set Pen Shade to () block is a Pen block and a Stack block. The block sets the pen's shade to the specified amount. A 200 pen shade value is the same shade as a 0 pen shade value. In other words, if you change the pen shade by 200, the shade still looks the same.

The possible shades you can get using the Set Pen Shade to ().png block without changing the color, here 0.

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 Set Pen Shade to () block:

  • Repeatedly choosing the pen shade while the pen is being used to create art with different shades
forever
set pen shade to (pick random (0) to (100))
  • Setting pen shades for an art program
ask [Shade?] and wait
set pen shade to (answer)
  • In projects that draw objects with the pen, choosing the shade of the object(s)
repeat (200)
move (1) steps
set pen shade to (pick random (0) to (100))
end

See Also

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