Point In Direction ()
Point in Direction () Block
Category Motion
Type Stack

The Point In Direction () block is a Motion Block and a Stack Block. The block points its sprite to the specified value - this changes the sprite's direction. Besides inputing the wanted number, there is a small drop-down menu with the common numbers:

Point in Direction () Drop Down

There has been some confusion involving the number system due to the fact that 0 is straight up, rather than off to the right (the default direction), and that it uses a -180 to 180 circle rather than a normal 360 degree circle - but so far no changes have been made.

Common UsesEdit

  • Flipping a sprite

Flip script

  • Rotating a sprite

Jumpy rotation

  • If a variable is used to decide the direction, the sprite can point towards an important goal in the project.

Pointing in a given direction

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.