Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 79 - 2607_Trackpad_Pro_5.1_flipbook_C6
P. 79

    On a screen, the ‘X’ position can range from 240 to -240. Here, 240 is the rightmost position of
                     the sprite; whereas -240 is the leftmost position. Y position can range from 180 to -180. 180 is the
                     highest point, and -180 is the lowest point.

                     Some of the commonly used motion blocks are:

                                Blocks                                              Functions

                                                          This block lets the Sprite move forward (in the direction it
                                move  10  steps
                                                          is facing).

                              turn    15  degrees         This block turns Sprite in clockwise direction.

                              turn    15  degrees         This block turns Sprite in an anti-clockwise direction.

                              go to x:  0  y:  0          This block moves the Sprite to a specified XY position.

                                                          This block moves Sprite to specified XY position according to
                         glide  1  secs to x:  0  y:  0
                                                          the set time frame.

                                                          This block changes position of Sprite on X-axis according to
                                  set x to  0
                                                          the specified position.

                                                          This block changes position of Sprite on X-axis by specified
                                change x by  10
                                                          number of steps.

                                                                                                     Blocks in Scratch  77

| 74 75 76 77 78 79 80 81 82 83 84 |