Page 53 - Code & Click - 4
P. 53

Some of the Pen blocks are:

                      Block                                              Function


                                       Puts the pen of the sprite down so that it draws as it moves.


                                       Pulls the pen of the sprite up so that it does not draw as it moves.


                                       Clears all pen marks and stamps from the Stage.


                                       Sets thes thickness of the pen to a specified value.


                                       Changes the thickness of the pen by a specified value.

                                       Sets the pen’s specified attribute (colour, brightness, saturation,
                                       or transparency) to a specified value.

                                       Changes  the  pen’s  specified  attributes  (colour,  brightness,
                                       saturation, or transparency) by a specified value.

                                       Sets the pen’s colour to a specified colour.


                                       Inserts the sprite’s image on the Stage.


                                                                                                   Experiential Learning
               Lab Activity 3

               Let us make the Cat sprite draw a rectangle on the Stage.
                  1.  Open a new project.

                  2.  Create the stack of blocks as shown in the given image.
                  3.  Click the Go        button to run the project.
                      The Cat sprite moves and draws a rectangle in blue colour.



























                                                                                                                   51
   48   49   50   51   52   53   54   55   56   57   58