Page 76 - TP-Play_V-2.0_Book-5
P. 76
CREATING SHAPES
08 IN SCRATCH
Your Aim
to learn about:
Pen Block Drawing a Line in Scratch
Drawing Polygons in Scratch Drawing a Square in Scratch
Drawing a Circle in Scratch
Now you will learn how to draw shapes in Scratch by writing scripts. To draw shapes
in Scratch, you will use Pen blocks. Let us learn about Pen blocks now.
PEN BLOCKS
The Pen blocks are green in colour. These blocks draw a trail as the Sprite moves
on the stage. You can change the color 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 at the bottom left corner of the
Code tab. A Choose an Extension window opens.
2
1
Step 2 Click on Pen option. The Pen blocks are added to the Code tab.
Now let us learn about some of the Pen blocks and what they are used for:
erase all block erases everything drawn by the pen.
76 Play (Ver. 2.0)-V

