Page 74 - Computer - 3
P. 74
Looks Blocks
The Looks blocks are used to change the appearance of a sprite, make it speak and
think. These blocks are colour-coded purple.
Some blocks in the Looks blocks category are:
Block Function
Displays a speech bubble above the sprite for a specified time.
Displays a thought bubble above the sprite for a specified time.
Switches to the next costume in the costumes list.
Switches the costume of a sprite to a specified costume.
Displays the sprite on the Stage.
Hides the sprite from the Stage.
Switches to the next backdrop in the backdrops list.
Switches the backdrop of the Stage to a specified backdrop.
Changes the colour of the sprite by a specified value.
Changes the size of the sprite by the specified amount (negative
value decreases the size).
Changes the size of the sprite by a specified percentage (100
means original size, greater than 100 increases the size and less
than 100 decreases the size).
Lab Activity 2 Experiential Learning
Let us make the Cat sprite say, think, and change its colour and size.
1. In the Blocks palette, click the Looks category.
2. Drag the Say for
block from the Blocks palette to the
Coding area.
3. Change the text in the Say block to ‘Hello!
My name is Kitty’.
4. Stack the Think for
block from the Blocks palette under the Say block, and change the text in the
block to ‘I can change my colour and size!!’.
72