Press the green flag then do as Gobo says.
Thanks to a handy book called Coding Projects in Scratch, I was able to make this.