FANDOM


Direction
104 (direction) (Scratch Wiki)
Category Motion
Type Reporter
The Direction block is a Motion block and a Reporter block. The block holds its sprite's direction - this direction value is what is used with the Point in Direction () block.

Common UsesEdit

As this block contains a sprite's direction, it is often used to help scripts that point sprites around.

Specifically, the block can be used to:

  • Simply sense a direction
  • Check the direction of an arrow sprite
  • Check alignment

ExamplesEdit

Example direction sensing

This script will check if its sprite's direction is 50.


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.