Page 93 - Viva ICSE Computer Studies 6 : E-book
P. 93
Do and Learn
Write a program to show a football bouncing using a Control block.
Steps to be Followed
• Open a new fi le in Scratch by clicking File New.
• Delete Cat Sprite by right-clicking on it and select
Delete option.
• Select Soccer ball by clicking on Choose a Sprite
from Library and select a soccer ball by clicking on
OK button.
• Select a background by clicking on Choosing
a Backdrop from Library and select Goal 2 by
selecting a Sports Category and clicking on the OK
button.
• Add the codes in the Script Area as shown.
• Click on the Green fl ag and observe the ball
bouncing.
Learn More
Following are some more blocks in Scratch.
• Sensing block: These blocks sense the keyboard input while executing the script.
• Operator blocks: These blocks are used to solve mathematical problems.
• Data blocks: These blocks are used to create variables in a project.
Computer Etiquette
Always save your project before turning off the computer.
Tech Terms
Stage: The area where the Sprite moves
Backdrop: Background of the Stage
Block Palette: Area where related instructions are grouped together
81