Skip to content

sprites · reference

sprite.getDirection·

The angle the sprite is moving toward, in degrees.

use
sprite.getDirection()
kind
a value: it goes inside another block
drawer
Sprites, in the code room's blocks

player two knows this block

Ask it how sprite.getDirection works in your game.