Scratch Blocks Explained
Scratch Blocks Explained
Move (teleport) the sprite to the specified X and A very important block! This block allows the
Y coordinates using the center of the sprite. sprite to hit the window border (edge) and
Using this block is equal to two blocks: "Set X to" continue moving in a new direction.
and "Set Y to" simultaneously.
The sprite will change its current costume to a Change the size of the sprite to the specified
costume, selected from the drop-down list. percent. In this case, 10 %.
Sprite will change to the next costume. Set the size of the sprite as a percentage of the
original size.
Blocks of variables are not visible until you create Blocks of lists are not visible until you create a list
a variable with the “Make a Variable” button. Use with the “Make a List” button. Use descriptive
descriptive names, like score, lives, and length. names, like items, names, and answers.
Set variable value. Value can be any type, Delete an item from list.
numerical or text. It is possible to choose any
variable by means of the drop-down menu.
The variable will be hidden and the checkmark will This is a logic value. It assigns the value "true" if
be removed. the list includes an item with the specified value.
This block will clone the sprite it runs in. The drop-
down menu allows you to select other sprites.
Check if a sprite is touching a particular color. The Measure the volume from the microphone input.
color can be selected with the eyedropper tool by Range: 0 to 100.
clicking the colored square and then clicking the
desired color. If the sprite is the same color, the
sensor accepts the value “true.” Turn video sensing on, off, or on-flipped (video is
flipped horizontally).