Page 63 - TP_Modular_V2.1_Class5
P. 63

CREATING SHAPES


                    07                                                                        IN SCRATCH














                       Your Aim

                       to learn about:
                            Pen Blocks                                    Drawing a Line in Scratch

                             Drawing Polygons in Scratch                    Drawing a Circle in Scratch


                 Let us 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 colour and size 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.


                                                                                  Creating Shapes in Scratch      61
   58   59   60   61   62   63   64   65   66   67   68