Movement
- move
Glides in the direction the object is facing.
- rotate
Changes the direction the object is facing.
- change y by
Moves the object up or down.
- change x by
Moves the object left or right.
- 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
- move with trail
The object moves in the direction it’s facing and leaves a trail behind it.
- 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
- repeatend
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
- grow
Increases the object’s size. 100% makes it twice as big!
- shrink
Decreases the object’s size. 50% makes it half size, and 100% makes it disappear!
- set invisibility
Set how "see-through" an object is. 50% means it’s half “see-through”, and 100% means it’s completely invisible!
- change pose
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.
Values
- set value
Remember a value. For example, we can ask a value to remember the number 5.
- change value
Change the value by a certain amount. For example, change by 5 would make a value 5 bigger.
Calculator
- 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
Rotate the top edge of the iPad away from you to run your script.
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
Rotate the top edge of the iPad towards you to run a script.
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.