Page 71 - Computer Genius Class 05
P. 71

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.




                          The color picker tool can help you choose any color you want from the
                          stage area.


                 Drawing a Line in Scratch


                 Let us learn how to draw a line in Scratch. To draw a line in Scratch, do the given coding:



















                                                                                  Creating Shapes in Scratch  69
   66   67   68   69   70   71   72   73   74   75   76