Page 58 - Code & Click - 3
P. 58
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.
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).
Experiential Learning
Lab Activity 2
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!!’.
5. Stack the Change size block from the Blocks palette under the
Think block, and set the size value to 25.
6. Stack the Change colour effect block from the Blocks
palette under the Change size block and change its value to 20.
7. Click the top block in the stack to run the project.
56