Hardware Reference
In-Depth Information
Command
Description
say xxx
Shows sprite's speech bubble saying xxx.
set size to x
Sets a sprite's size to x percent of its original size.
show
Makes a sprite appear on the stage.
switch to background x
Changes the background of the stage.
switch to costume x
Changes the costume of a sprite.
think xxx
Shows sprite's thought bubble thinking xxx.
Variables Blocks
Change variable by x
Changes the variable by x amount.
Creates a new variable that you can name for either a sin-
gle sprite or for all sprites.
Make a variable
Sets the variable value to x .
Set variable to x
Sensing Blocks
key x pressed
If x key on the keyboard is pressed then reports true.
touching color x
If a sprite is touching a designated colour then reports
true.
touching x
If a sprite is touching designated sprite, edge or mouse
cursor, then reports true.
Achievement Unlocked: You have created a program using Scratch!
In the Next Adventure
In the next adventure, you'll learn how to program art using Turtle Graphics. In
the irst half, you will use Scratch. In the second half, you will be using the
programming language Python, and will be introduced to the Python
programming environment and some commands to enable you to draw shapes
and repeat them to make patterns.
Search WWH ::




Custom Search