Skip to content

Motion Blocks#

move () steps#

move steps;
move (steps) steps

turn left () degrees#

turn_left degrees;
turn left (degrees) degrees

turn right () degrees#

turn_right degrees;
turn right (degrees) degrees

go to ()#

goto "sprite";
go to (sprite v)

go to (random position)#

goto_random_position;
go to (random position v)

go to (mouse-pointer)#

goto_mouse_pointer;
go to (mouse-pointer v)

go to x: () y: ()#

goto x, y;
go to x: (x) y: (y)

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

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

glide () secs to ()#

glide_to "sprite", secs;
glide (secs) secs to (sprite v)

glide () secs to (random position)#

glide_to_random_position secs;
glide (secs) secs to (random position v)

glide () secs to (mouse-pointer)#

glide_to_mouse_pointer secs;
glide (secs) secs to (mouse-pointer v)

point in direction ()#

point_in_direction direction;
point in direction (direction)

point towards (mouse-pointer)#

point_towards_mouse_pointer;
point towards (mouse-pointer v)

point towards (random direction)#

point_towards_random_direction;
point towards (random direction v)

point towards ()#

point_towards "sprite";
point towards (sprite v)

change x by ()#

change_x dx;
change x by (dx)

set x to ()#

set_x x;
set x to (x)

change y by ()#

change_y dy;
change y by (dy)

set y to ()#

set_y y;
set y to (y)

if on edge, bounce#

if_on_edge_bounce;
if on edge, bounce

set rotation style [left-right]#

set_rotation_style_left_right;
set rotation style [left-right v]

set rotation style [don't rotate]#

set_rotation_style_do_not_rotate;
set rotation style [don't rotate v]

set rotation style [all around]#

set_rotation_style_all_around;
set rotation style [all around v]