In Scratch, motion blocks are blocks of code that allow you to control the movement of your sprites (characters or objects in your program). You can use motion blocks to move sprites around the stage, change their direction, and make them bounce off the edges of the stage.
Here are some examples of motion blocks in Scratch:
Motion blocks are an essential part of programming in Scratch, and they allow you to control the movement of your sprites. You can use them to create games, animations, and other interactive programs.
This block moves the sprite 10 steps.
This block rotates the sprite 15° to the right clockwise
This block rotates the sprite 15° to the left counterclockwise.
This block moves the sprite to the location of the mouse pointer or to a random position
This block positions the sprite at the position defined by the x-coordinate and the y-coordinate on the Stage.
This block drags the sprite to a random position on the Stage.
This block drags the sprite to the position defined by the x-coordinate and the y-coordinate on the Stage.
This block allows to direct the sprite in the determined direction. (0 = up, 90 = right, 180 = down, left = -90)
This block modifies the abscissa x of the sprite by the specified value
This block adds the appreciated value to the abscissa x of the sprite.
This block changes the y-coordinate of the sprite by the specified value
This block adds the appreciated value to the y-ordinate of the sprite.
This block rotates the sprite in the opposite direction when it hits the edge of the stage.
this block returns the x-coordinate of the sprite’s position.
this block returns the y-coordinate of the sprite’s position.
This block returns the direction of the sprite (0 => up, 90 => right, 180 => down, -90=> left) .