Page 49 - Code & Click - 4
P. 49

Block                                             Function

                                       Turns the sprite by ‘n’ degrees anti-clockwise.


                                       Moves the sprite to specified x and y coordinates on the Stage.


                                       Moves the sprite to the location of mouse pointer on the Stage.

                                       Moves the sprite smoothly to specified x and y coordinates over

                                       a specified time.
                                       Bounces the sprite in the opposite direction when it touches a

                                       boundary of the Stage.

              Looks Blocks

              The Looks blocks, colour-coded purple, are used to change the appearance of a sprite,
              and make it speak and think.


                      Block                                             Function


                                       Displays a speech bubble above the sprite for a specified time.


                                       Displays a thought bubble above the sprite for a specified time.


                                       Switches to the next costume in the costumes list.


                                       Switches the costume of a sprite to a specified costume.


                                       Displays the sprite on the Stage.


                                       Hides the sprite from the Stage.



                                       Switches to the next backdrop in the backdrops list.


                                       Switches the backdrop of the Stage to a specified backdrop.


                                       Changes the colour of the sprite by a specified value.


                                       Changes the size of the sprite by the specified amount (negative
                                       value decreases the size).



                                       Changes the size of the sprite by a specified percentage


                                                                                                                   47
   44   45   46   47   48   49   50   51   52   53   54