Raspberry_Pi_Education_Manual

Notes:

We have to run a program to make it work. You can do this by just double-clicking your script, if you only have one script. But if we have more than one script, we might want to start them at the same time. We can use a “green-flag event” for this.

To find the block for green-flag events: 1.  Click on the Control button in the Blocks Palette. 2.  Find the block labelled “when [picture of a green flag] clicked”. 3.  Select it, then drag and drop it to the top of the script you’ve created in the Scripts tab. Make sure it snaps into place. You are now ready to run your first Scratch program properly. Just click on the green flag symbol at the top-right-hand side of the Scratch window, just above the stage, and watch the cat do its thing.

Over to you

Question: For how long did the cat say “Hello, World”? _____ seconds Task: See if you can change the block to make the cat say “Hello, World” for 5 seconds.

A beginner’s guide to Scratch

11

Made with FlippingBook flipbook maker