Page 74 - TP_Prime_v2.2_Class_5
P. 74

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.

                  •           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
           Prime (Ver. 2.2)-V  •    block puts the pen up and stops the Sprite from drawing anything.
                    of the Sprite appears behind it.





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

          72
                  •                      block  changes  the pen color, saturation,

                    brightness and transparency. Click on the drop-down 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 color, saturation, brightness

                    and transparency to the given value.



                   Drawing a Line in Scratch



                  Let's learn how to draw a line in Scratch. Look at the code and its output.

                  The line appears on the stage.

                                                                                                  Soft Hint

                                                                                          To come out of the Full

                                                                                           Screen Control mode:
                                                                                          click on the Full Screen

                                                                                          Control         button or
                                                                                                press Esc key


                  To view the line in full screen, click on Full Screen Control button                    on the top

                  right corner of the stage.
   69   70   71   72   73   74   75   76   77   78   79