Page 105 - Trackpad v5 class 5
P. 105
Step 6 Drag a touching mouse-pointer block from the Sensing block and use it
with an if block. Click on the drop-down arrow present next to touching
mouse pointer block and select edge from the list.
Step 7 Drag a start sound Meow from the Sound if
blocks and place it inside the if…then block. touching edge ? then
Step 8 Click on Green Flag button to see the start sound Meow
output.
Role of Video Sensing extension in Scratch
Keep on clicking this icon until the
cat reaches the edge.
Using the Sensing Menu when clicked
Now use the Sensing menu for Ask the user for age, set age to 0
User types in age, Display the stored answer. ask What’s your age? and wait
Step 1 Create a variable named age. set age to answer
After creating the variable age, let us create the say Join I Know your age is answer
following block stack for the sprite: Now, click on the
green flag.
More on Scratch 103

