Page 88 - TechPluse_C4_Flipbook
P. 88
PEN BLOCK
The Pen blocks are green in colour. These blocks draw a trail as the sprite moves
on the stage. You can change the colour of the pen. In Scratch 3.0, you have to add
Pen blocks to the block category. To do so, follow the given steps:
Step 1 Click on the Add Extension button.
Step 2 Click on Pen option. The Pen blocks are added to the Code tab.
2
1
Now, let us learn about some of the Pen blocks and their uses:
erase all block erases everything drawn by the pen.
Clicking on stamp block creates a duplicate of the current sprite. The image is
stamped on the stage. To see the image, click on the sprite and drag. A duplicate
of the sprite appears behind it.
pen up block puts the pen up and stops the sprite from drawing anything.
The sprite draws a non-stop line wherever it moves using pen down .
Use set pen color to block to set the colour of the pen to a colour of your
choice from the drop-down menu.
Change pen color by 10 block changes the pen colour, 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.
86 Premium Edition-IV

