Page 67 - IT_V5.0_Class6
P. 67

Pen Block

                 In Scratch, Pen blocks are green and allow sprites to draw on the Stage as they move. These
                 blocks transform a sprite into a "pen" that can draw lines, shapes, and patterns. They are useful
                 for creating drawings, tracking paths, or adding visual effects to projects. To access Pen blocks,
                 you must add the "Pen" extension from the Extensions menu. Pen blocks and their functions are
                 as follows:

                  Block                                Explanation


                                                       It erases all the Pen marks and Stamps from the Stage.



                                                       Stamp is a  temporary  image  of  the  sprite  that  can  be
                                                       placed on the Stage.


                                                       It draws a line as the Sprite moves on the Stage.



                                                       It pulls  up Sprite’s pen so that  it won’t  draw  when the
                                                       Sprite moves.



                                                       It sets the colour of the pen to a specific colour or number.


                                                       It changes the colour of the pen by a specific colour or a
                                                       number.


                                                       It sets the pen’s colour, saturation,  brightness, and
                                                       transparency.



                                                       It changes the thickness of the pen to a specific number.




                                                       It sets the thickness of the pen to a specific number.


                 Example 8: Make a sprite duplicate itself.


















                                                                                              Learning Scratch   65
   62   63   64   65   66   67   68   69   70   71   72