arrow_back Add Interactivity
In this add-on, you’ll make the end of your pitch interactive by asking the audience a question and responding accordingly. Asking the audience to participate is a powerful motivator. You might ask questions that gauge their interest, like: How much would you pay for this innovation? Do you want to buy this product?
Or, you could ask if they have the problem your product solves, like “Have you ever wished there were an easier way to coordinate your schedule with your parents?”
This example, will ask the audience how much they think this product costs, then respond based on their guess. Select the narrator sprite. Find the place in your code where you’d like to pose a question to your audience, and add an "ask" block from sensing. This example adds the "ask" block in the code for the conclusion.
Type a question for the audience. This example asks, “How much do you think this product costs?” Add an "if/else" block from the control menu below the "ask" block. Then, click operators. The operator you use depends on the question that you ask. If you ask a yes or no question, use an "equals" operator. This example uses the "greater than" operator to check whether or not the person guessed more than the product costs. Then, drag an answer variable from sensing, and type the other value into the operator. This now reads, “if answer greater than 5.” If the audience guesses that the product costs more than 5 dollars, then this example will say “You’re in luck! This great innovation is only $5” Else, it’ll say, “Products like this aren't available anywhere else. Get it for $5!” Next, test your code.
Great, it works!
This was just an example. Use your own creativity to prompt the audience to take part in your story.
Now, it’s your turn: Add an "ask" block to invite the audience to participate in your program.
Check the audience’s answer using an "if/else" block, an operator, and an "answer" block.
Decide how to respond based on the audience’s answer by adding code to the "then" and "else" sections of the "if/else" block.