Page 62 - modular4.0
P. 62
Chapter Profile
7 Chapter Profile Pen Block
Drawing a Line in Scratch
Drawing Polygons in Scratch
Drawing a Circle in Scratch
Creating Shapes
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 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:
2 Click on Pen option. The Pen
blocks are added to the Code tab.
1 Click on the Add Extension button
at the bottom left corner of the Code tab. A
Choose an Extension window opens.
Now let us learn about some of the Pen blocks and what they are used for:
block erases everything drawn by the pen.
Clicking on 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.
60 Modular (Ver. 4.0)-V

