Page 74 - Touchcode_C5_Flipbook
P. 74
block changes the pen color, saturation, brightness and
transparency. Click on the first text box to select and change the pen effects.
Click on the second text box to give a value by which the effect will change.
block will set the pen color, saturation, brightness and
transparency to the given value.
DRAWING A RECTANGLE IN SCRATCH
Let’s draw a coloured rectangle in Scratch. Use the code given below. Remove the
block and place the block in the Repeat block. Change
the value from 10 to 25. Click on the Go button. Your colorful rectangle appears on
the stage.
DRAWING A CIRCLE IN SCRATCH
To draw a circle, create the given script in Scratch.
72 Touchcode–V

