Page 98 - Trackpad v5 class 4
P. 98

DRAWING SHAPES                                                                         CHAPTER                                     DRAWING SHAPES


            IN SCRATCH                                                                             10                                 We have learnt how to control sprites in the previous chapter. In this chapter, we will learn


                                                                                                                                      about creating shapes. Thus, we can repeat the actions of a stack of blocks by making use

                                                                                                                                      of the various blocks in the Control block category.


                                                                                                                                      PEN BLOCK

                                                                                                                                      Pen blocks provide a trail for the sprite and give instructions to change the colour, size
                                                                                                                                      and shade of the trail. These blocks are colour-coded as dark green and used to draw

                                                                                                                                      shapes in Scratch. Let us read pen blocks and their functions.


                           Hello Aadya! You have learnt                Topics Covered                      95%                                           Blocks                                            Functions
                           earlier about changing a sprite’s               Drawing Shapes
                           look and appearance. Now, let’s                 Controlling a Sprite
                           dive a little deeper into it.                   Working with Two Sprites                                           pen down                                It places the pen in the down position.



                                                                                                                                              pen up                                  It disables  drawing operations  by  lifting  the
                                                                                                                                                                                      pen.

                                                                                                                                              set pen color to                        It specifies the colour to be used while drawing.

            Yes, Techie, I would absolutely love to go scuba diving with a sprite.

            Hehehe!                                                                                                                           Change pen color          by 10         It modifies the colour of a line.


                                                                                                                                                                                      It modifies the thickness of the pen. You can
                                                                                                                                                                                      also change the thickness  by writing the
                                                                                                                                              Change pen by  1
                                                                                                                                                                                      desired number in the number box, number 1
                                                                                                                                                                                      being the least thick.
                            Are you kidding me, Aadya? I am talking about learning to create shapes
                            and working on sprites.                                                                                           stamp                                   It draws or stamps the image of a sprite onto
                                                                                                                                                                                      the stage.


                                                                                                                                              erase all                               It erases the pen marks from the stage.




                                                                                                                                      Drawing A Line
                                     Oh Yes! Techie, let's learn more about Scratch.                                                  To draw a line, follow the given steps:


                                                                                                                                      Step  1    Click the Motion button to display the Motion Blocks.

                                                                                                                                      Step  2    Drag a  when      clicked   block to the scripts area from the Events menu.



             96   Pro (Ver. 5.0)-IV
   93   94   95   96   97   98   99   100   101   102   103