User Guide

79
Each sprite also has three variables that are changed by the
motion blocks. These can be used in decision-making and
arithmetic blocks.
Block Description
move ? steps Moves a sprite a number of steps in the direction
it is currently pointing.
turn (clockwise) ?
degrees
Rotates a sprite a number of degrees in a
clockwise direction.
turn (counter-
clockwise) ? degrees
Rotates a sprite a number of degrees in an
counter-clockwise direction.
point in direction ? Rotates or flips a sprite to face the specified
direction.
point towards ? Rotates or flips a sprite to face the mouse pointer
or another sprite.
go to x: ? y: ? Sets the position of a sprite.
go to ? Moves a sprite to the location of the mouse
pointer or another sprite.
glide ? secs to x: ? y:
?
Animates the movement of a sprite to the
specified location.
change x by ? Moves a sprite horizontally by the number of steps
specified. This number can be negative.
set x to ? Moves a sprite horizontally to the specified
position.
change y by ? Moves a sprite vertically by the number of steps
specified. This number can be negative.
set y to ? Moves a sprite vertically to the specified position.
if on edge, bounce Changes the direction of a sprite when it reaches
the edge of the Stage.
Variable Description
x position The horizontal position of the sprite on the Stage.
y position The vertical position of the sprite on the Stage.