Page 65 - Touchcode_C4_Flipbook
P. 65
block lets the Sprite move forward (in the direction it is facing) the
number of steps given in the text box in the block. When we write the value with
a minus (–) sign, the Sprite moves backward, e.g. move – 10 steps .
block lets the Sprite turn in clockwise direction by the given degrees
and block turns Sprite in anti-clockwise direction by the given
degrees.
To make a Sprite jump to a new position on the stage, use block. This
block gives the x and y position of the Sprite on the stage.
Use to tell the Sprite to follow one of the two given options: the
mouse pointer or a random position.
block makes the Sprite flip over if it touches the edge
of the screen.
block is used to set the rotation style of a
sprite. The options to choose from are left-right, all around
and don’t rotate.
Looks Block
The blocks in purple color are Looks blocks. They control how a Sprite
appears on stage.
use the block to add a speech bubble to the Sprite
for the given time in seconds.
block adds a speech bubble to the Sprite with the given text. The speech
bubble will continue to appear until another speech or thought block is activated,
or the stop button is pressed.
Coding Corner 63

