Point in Direction ()
-
Prerequisite
The Point in Direction ( ) Block
Besides turning a sprite, you can also make it point to a direction with this block:
ccimg2||300||,
Direction in Degrees
You can set the direction number using the spin wheel or typing it in yourself. For example, 180-degree points down, and 60-degree points to the top right.
ccimg||900||,
Directions to the Left
Whenever the direction is to the left, the spin wheel would write a negative number for you, with a “- sign” in front of the number.
ccimg||500||,
Using the Sprite Pane
You can also read or change a sprite’s direction using the sprite pane. The sprite will rotate as you spin the wheel or type in the new direction number.
ccimg3||500||,
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