Skip to content

Please update your browser

Your browser version is not supported by this site. CS First may not work properly. Learn more

arrow_back Ask the Audience

Transcript

In this add-on, you will ask the user a question, then react to the response.

This is a challenge add-on.

This video will help you get started, but will not give you all the steps.

You’ll figure out the rest on your own.

To get started, select the sprite that will ask the question.

This example uses the Isabel talk sprite.

Program the sprite to wait until the correct sprite -- in this case, Isabel, talks before it asks the question.

Add a "wait until" block.

Inside this, add an "equal" block and the "person talking" variable.

Set the variable to “Isabel” for the “Isabel talk” sprite and “Malik” for the “Malik talk” sprite.

Add an “ask” block, and type in a question.

This example asks the user, "What do you think we should have for lunch?"

Create a conditional statement using an if-else block.

Program one action to happen if the user says one thing, and another action to happen if they say something else.

In this example, if the user says, "pizza" then Isabel says, "Pizza is my favorite!

Let's get cheese!"

If the user says something else, Isabel says, "That’s not my favorite, but we can get that!"

You can make the sprites say something, change expressions, move, or anything else based on the user's response.

Have fun, and get creative!

Now, it's your turn.

Program the sprite to wait for its turn to talk before asking a question.

Program the sprite to ask the user a question.

Create different reactions based on the user's response.

Choose an Add-On
play_circle_filled
Design
Use the editing tools to draw your own expression or edit the appearance of the sprite.
arrow_forward
play_circle_filled
Chatterbox
In "Chatterbox," add a sound that plays each time a character speaks.
arrow_forward
play_circle_filled
Eyebrows
Add moving eyebrows to your sprites' expressions.
arrow_forward
play_circle_filled
Trio
Add another character to your story.
arrow_forward
play_circle_filled
Props
Add an object related to the story.
arrow_forward
play_circle_filled
Ask the Audience
As the user a question and react to the response.
arrow_forward
arrow_backward Back
Next arrow_forward
Instructions
  1. Watch the video to preview the add-ons.
  2. Choose an add-on, and click "watch" to learn how to build it.
  3. After you finish, come back to this page and try another one!