Chapter 4 Programming with Scratch^71
THE OFFICIAL RASPBERRY PI BEGINNER’S GUIDE
5 Figure 4-11: The space background appears on the stage
Upload your new sprite by clicking the upload sprite icon , next to the words ‘New sprite:’
at the top of the sprites pane. Find the file Astronaut-Tim.png in the Downloads folder, click to
select it, then click OK. The sprite appears on the stage automatically, but might not be in the
middle: click and drag it with the mouse and drop it so it’s near the lower middle (Figure 4-12).
5 Figure 4-12: Drag the astronaut sprite to the lower middle of the stage
With your new background and sprite in place, you’re ready to create your program. Start
by creating a new variable called ‘time’, making sure that ‘For all sprites’ is selected before
clicking OK. Click on your sprite – either on the stage or in the sprite pane – to select it,