Page 78 - iPlus_Ver_2.0_class_6
P. 78

i +  THE 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 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:

                                                                 2   Click on  Pen option.  The Pen
                                                                block is added to the Code tab.


















                            1  Click on the Add Extension button.


                  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.


                  •            block puts the pen up and stops the Sprite from drawing anything.
                  •  The Sprite draws a non-stop line wherever it moves using               .


                  •   Use                    block to set the colour of the pen to a colour of your choice from the
                    drop-down menu.

                  •                     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.

                  •                   block will set the pen colour, saturation,
                    brightness and transparency to the given value.


                   i +  DRAWING A POLYGON

                  Polygons are 2D shapes with three or more straight lines and angles. Examples of polygons are
                  triangle, square, rectangle, quadrilateral, pentagon, octagon, etc.



                    76
                         iPlus (Ver. 2.0)-VI
   73   74   75   76   77   78   79   80   81   82   83