O'Reilly logo

Scratch 1.4 by Michael Badger

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action - create a list of questions

In order to have a successful fortune-telling, we need two things: a question and an answer. Let's start by defining some questions and answers:

  1. Select the seeker from the list of sprites.
  2. From the Variables palette, click the Make a list button.
  3. In the list name dialog box, type questions and select For this sprite only.
  4. Click OK to create the list. Several new blocks display in the Variables palette, and an empty block titled seeker questions displays on the stage.
    Time for action - create a list of questions
  5. Let's think about a couple of questions we may be tempted to ask, such as the following:
    • Will my hair fall out?
    • How many children will I ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required