The "Turn around" Block
-
Prerequisite
Description
The “Turn <left/ right> () degrees around (sprite) in () seconds” is a stack block in the Motion category.
How does this block work?
This block turns the current sprite around another sprite.
Direction
You can select to turn the sprite right or left. When you turn the sprite right, it will turn clockwise around the other sprite; turning right is the opposite direction. Note that the sprite not only changes position, but also rotates at the same time.
Degrees
This parameter controls how much the sprite turns. For example, 360 degrees will make the sprite turn a full circle and get back to the same position. Note that the degree number can be more than 360. For example, 720 degrees will make the sprite turn around 2 times.
Target Sprite
You need to select the target sprite to use as the turn center. There has to be at least one other sprite in this project for you to choose from.
Duration
The last input controls how much time it takes for the sprite to complete the turn. The longer the duration, the slower the sprite will turn.