Page 87 - Trackpad_V1_Book 5_Flipbook
P. 87
Step 4 Add another sprite named Diver1 under the People category from the Library.
Click on the Diver1 sprite to make it active.
Step 5 Create the block stack as shown.
Step 6 Now, click on the green flag to run your project.
Hashtag
#Variable: Changeable value recorded in Scratch's memory
#Block: Software code or an algorithm in software programming
REVISIT
▶ Variables are a named location where you can store information.
▶ A global variable can be created on any sprite but its value can be accessed or modified by other
sprites used in the project.
▶ Local variables can only be accessed or modified from the sprite where it was created.
▶ Sensing blocks are colour-coded light-blue, and are used to control the movement of the sprite in
a better manner.
1. Tick ( ) the correct option.
a. What is the colour code for Sensing blocks?
(i) Light-blue (ii) Purple (iii) Orange
b. Which blocks are used to detect different sprites and elements of a project
including the edge of the stage?
(i) Variables (ii) Events (iii) Sensing
More on Scratch 85

