Turn Left () Degrees | Turn Right ( ) Degrees
-
Prerequisite
Turn Blocks
Turn blocks let you turn your Spriteccimg||200||,
Turn Left and Turn Right Blocks
There are 2 types of turn blocks:
ccimg2||500||,
Both turn blocks are in the Motion group:
ccimg||100||,
To use the turn block, click on the Motion group. Then drag the turn block into the coding area:ccimg||900||,
When you click on the turn right block your Sprite turns right:ccimg||900||,
When you click on the turn left block your Sprite turns left:ccimg||900||,
Number of Degrees
Suppose we write 20 in the turn block, then each time we click the block, the sprite will turn 20 degrees.
If we write 50 in the turn block, it will turn by a bigger angle
ccimg||900||,
The larger the degree value, the more the sprite will turn each time. Usually, we pick a degree number between 1 and 180. The turn happens very very quickly, but it would look like this in slow motion:ccimg||500||,
Here are some commonly used degree numbers. Feel free to try them out!ccimg3||900||,
Learn More
-
I CreatiCode pinned this topic on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
Clicked Block