The_Official_Raspberry_Pi_-_Beginner’s_Book_Vol1,_2018 (1)

(singke) #1
Chapter 4 Programming with Scratch^57

THE OFFICIAL RASPBERRY PI BEGINNER’S GUIDE


the bit sticking out of the bottom connects into the hole at the top of your say Hello! block
until you see a white outline, then let go of the mouse button. You don’t have to be precise; if
it’s close enough, the block will snap into place just like a jigsaw piece. If it doesn’t, click and
hold on it again to adjust its position until it does.


when clicked


say Hello!


Your program is now complete. To make it work, known as running the program, click on the
green flag icon at the top of the stage area. If all has gone well, the cat sprite on the stage will
greet you with a cheery ‘Hello!’ (Figure 4-2) – your first program is a success!


5 Figure 4-2: Click the green flag above the stage and the cat will say ‘Hello’

Free download pdf