Movement

  • rotate

    Changes the direction the object is facing.

  • move

    Glides in the direction the object is facing.

  • change x by

    Moves the object left or right.

  • change y by

    Moves the object up or down.

  • set rotation

    Change the heading of an object to a specific direction.

  • set position

    Change the x and y position of an object to a specific location.

  • set speed

    Sets how fast the object can move.

Drawing

  • leave a trail
    end

    Any motion blocks inside here will cause your object leave a trail.

  • set line width

    Set how thick the trail will be.

  • set line color

    Set what color the trail will be.

  • clear

    Erase all lines you have drawn.

Control Flow

  • repeat
    end

    Repeat all blocks inside this block a certain number of times.

  • wait

    Pause your code for a certain amount of time in milliseconds. 1000 milliseconds is equal to 1 second. 3000 milliseconds is equal to three seconds. 500 milliseconds is equal to half a second.

Appearance

  • scale by

    Changes the objects size by a certain percentage. 100% means no change, 50% makes it half size, 200% makes it twice as big!

  • set opacity

    Set how "see-through" an object is. 100 means it's not at all see through. 0 means its completely invisible!

  • change costume

    Change the way the object looks. This can be used to create animations when placed between move blocks.

  • bring to front

    Make this object appear in front of everything else.

  • send to back

    Make this object appear behind everything else.

Variables

  • set variable

    Give a variable a value to remember. For example, we can ask a variable to remember the number 5.

  • change variable

    Change the value of a variable by a certain amount. For example, change by 5 would make a variable's value 5 bigger.

Math

  • random

    Picks a random number between 2 numbers (e.g. a random number between 1 and 10). This can be used to pick random colors or move random places.

Events

  • When Play button is tapped

    Every time you tap the play button the blocks inside that script will run.

  • When iPad is shaken

    Every time you shake the iPad the blocks inside that script will run.

  • When the stage is tapped

    Every time you tap a finger down on the stage the blocks inside the script will run.

  • When iPad is tilted down

    Every time you tilt the iPad down the blocks inside that script will run. HINT: iPad is flat when resting on a table, iPad is tilted down when held up and facing you.

  • When iPad is tilted left

    Every time you tilt the iPad left the blocks inside that script will run.

  • When iPad is tilted right

    Every time you tilt the iPad right the blocks inside that script will run.

  • When iPad is tilted up

    Every time you tilt the iPad up the blocks inside that script will run.

  • When object is tapped

    Every time this object is tapped the blocks inside that script will run.

  • When iPad detects a loud noise

    Make a loud noise (such as a clap or yell) and the blocks inside that script will run.

  • When object collides with... other object

    Every time this object collides with the other object (or edge of the screen) the blocks inside that script will run.

  • Deactivated

    The blocks inside this script will never run.