BlocosIA Wiki Editor

Smart Sprites

Speed, motion prediction, follow and flee.

To use it: in the editor, click "Extensions" (bottom corner) and add "Smart Sprites".

Reporter

speed [total] of [ ▾ ]

Gives a number or text. Put it inside a round slot.

Boolean

is [ ▾ ] moving?

Answers true or false. Use it in "if", "repeat until" and "wait until".

Reporter

motion direction of [ ▾ ]

Gives a number or text. Put it inside a round slot.

Reporter

predict [x] of [ ▾ ] in ( ) secs

Gives a number or text. Put it inside a round slot.

Reporter

direction to [ ▾ ]

Gives a number or text. Put it inside a round slot.

Reporter

nearest sprite

Gives a number or text. Put it inside a round slot.

Stack

move towards [ ▾ ] ( ) steps

Does an action. Snap it below another block.

Stack

run away from [ ▾ ] ( ) steps

Does an action. Snap it below another block.