BlocosIA Wiki Editor

Motion

Stack

move ( ) steps

Moves forward in the direction the sprite is pointing. Negative numbers move backwards.

Stack

move ( ) steps vertically (+ up, − down)

Moves vertically: positive goes up, negative goes down, without changing direction.

Stack

turn right ( ) degrees

Turns the sprite clockwise.

Stack

turn left ( ) degrees

Turns the sprite counterclockwise.

Stack

go to [ ▾ ]

Jumps instantly to another sprite, the mouse pointer or a random position.

Stack

go to x: ( ) y: ( )

Jumps to the x (left/right) and y (down/up) coordinates. The center of the stage is 0, 0.

Stack

glide ( ) secs to [ ▾ ]

Glides to the target over the chosen number of seconds.

Stack

glide ( ) secs to x: ( ) y: ( )

Glides to x, y over the chosen number of seconds.

Stack

point in direction ( )

Points in a direction: 0 = up, 90 = right, 180 = down, -90 = left.

Stack

point towards [ ▾ ]

Turns the sprite toward the mouse or another sprite.

Stack

change x by ( )

Moves sideways: positive goes right, negative goes left.

Stack

set x to ( )

Puts the sprite at an exact x position.

Stack

change y by ( )

Moves vertically: positive goes up, negative goes down.

Stack

set y to ( )

Puts the sprite at an exact y position.

Stack

if on edge, bounce

If the sprite touches the edge of the stage, it turns around.

Stack

set rotation style [left-right]

Chooses how the sprite rotates: all around, left-right only (mirrors) or not at all.

Stack

be a barrier (nothing passes through): [yes]

Turns the sprite into a wall or floor: other sprites cannot pass through.

Boolean

am I a barrier?

Tells whether this sprite is a barrier.

Reporter

x position

The sprite's x position.

Reporter

y position

The sprite's y position.

Reporter

direction

Where the sprite is pointing, in degrees.