Do you have a question?
Now is a logical time to build some audience participation into our game, so we're going to prompt the user for a question via the ask block. After the user types the question, the teller sprite will provide the fortune.
The ability to collect a string of text via the keyboard is new in Scratch 1.4.
Time for action – ask your question
Select the seeker sprite, and let's begin.
From the Control palette, add the when seeker clicked block to the scripts area.
From the Sensing palette, add the ask block to the when seeker clicked block.
Type a question in the ask block. This is the question, the sprite seeker will ask.
Add a broadcast block to the script and select the message fortune.
Click the seeker to display the ask box on the stage.
Type your question, and then either click the check mark on the ask field or press Enter on your keyboard. The teller responds with your fortune.
What just happened?
Let's hope our teller believes in the old mantra, "there are no dumb questions...