A sprite's rotation style controls which directions a sprite can face in. These directions are all in accordance with the analogous rotation system used by Scratch. Depending on the rotation style of a sprite, the sprite may appear to be facing a different direction to its true value.
There are three rotation styles: full rotation, left-right, and no rotation.
"Full rotation" rotation visually points the sprite in the direction it is facing.
The left-right rotation style flips the sprite right or left. If the sprite's direction is between 0° and 180°, the costume will not appear rotated. If the sprite's direction is between 0° and -180°, the costume will be mirrored over the Y axis.
If a sprite's rotation style is set to "no rotation", the visual appearance will not change as it changes direction.
Note: The sprite's appearance will not change, but the direction itself can still be modified.
For example, if the sprite is facing 90° to the right, and you run a block that points it down (such as
point in direction (180 v)), the sprite will still appear to be looking to the right, but running a
move (10) steps block will make it move 10 "steps" down (like using
change y by (-10))
The Sprite Header Pane has three buttons to change it. The top one, with the rotation, is full rotation. The middle is left-right. The bottom is no rotation.
There is a non-block method similar to Scratch 1.x to change a sprite's rotation style. Click the info(i) icon next to any sprite in the Scratch 2.0 menu. An options pane will come up with buttons to change the rotation style as in Scratch 1.x.
This value can be used in a number of ways:
- Making moving objects move in a specific direction without turning
- Making objects flip