Motion Category

1. move () steps

Moves the sprite forward a specified number of steps in the direction the sprite is facing. Example: When the green flag is clicked, the sprite will move forward for 10 steps.

2. turn () degree (clockwise)

Turns the sprite (clockwise) a specified number of degrees. Example: When the left-arrow key is pressed, the sprite will turn clockwise 15 degrees.

3. turn () degrees (counterclockwise)

Turns the sprite (counterclockwise) a specified number of degrees. Example: When the right-arrow key is pressed, the sprite will turn counterclockwise 15 degrees.

4. go to ()

Moves the sprite to a random position, the mouse-pointer, or another sprite. Example: When the green flag is clicked, the sprite will move to a random position.

5. go to x:() y:()

Moves the sprite to the specified (x, y) position of the stage. Example: When the green flag is clicked, the sprite will move to (0, 0).

6. glide () secs to ()

Glides the sprite to a random position or the mouse-pointer, taking as long as the specified amount of time. Example: When the green flag is clicked, the sprite will glide to a random position in one second.

7. glide () secs to x:() y:()

Glides the sprite to a specified (x, y) location, taking as long as the specified amount of time. Example: When the green flag is clicked, the sprite will glide to (0, 0) in one second.

8. point in direction ()

Points the sprite in the specified direction. The 360-degree circle is used for this block. Degrees and directions are as follows: Example: When the green flag is clicked, the sprite will face to the right.

9. points towards ()

Points the sprite towards the mouse-pointer or another sprite. Example: When the green flag is clicked, the sprite will point towards the mouse-pointer.

10. change x by ()

Changes the x position of the sprite by the specified amount. Example: When the left-arrow key is pressed, the x position of the sprite will increase by 10.

11. set x to ()

Sets the x position of the sprite to the specified amount. Example: When the space key is pressed, the x position of the sprite will be set to 0.

12. change y by ()

Changes the y position of the sprite by the specified amount. Example: When the up-arrow key is pressed, the y position of the sprite will increase by 10.

13. set y to ()

Sets the y position of the sprite to the specified amount. Example: When the space key is pressed, the y position of the sprite will be set to 0.

14: if on edge, bounce

If the sprite touches the edge of the screen, it bounces back in the opposite direction from which it is coming. Example: When the space key is pressed, the sprite will move forward for 10 steps. If the sprite touches the edge, it will bounce back.

15. set rotation style ()

Sets the rotation style of the sprite. There are three options:

• left-right: the sprite only faces left or right
• don't rotate: the sprite always faces as in 90°
• all around: the sprite can face any of the 360 degrees Example: When the green flag is clicked, the rotation style of the sprite will be set to left-right.

16. x position

The x position of the sprite. Example: When the space key is pressed, if greater than 100, the x position of the sprite will decrease by 10.

17. y position

The y position of the sprite. Example: When the space key is pressed, if greater than 100, the y position of the sprite will decrease by 10.

18. direction

The direction of the sprite. Example: When the space key is pressed, the sprite will say the position in which it is pointing.