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 User Interaction


In this add-on, you will ask the user a question and make something happen based on the response.

This is a challenge add-on, so this video will help you get started, but it won't give you all of the steps.

To get started, decide what you want to ask the user and what you want to happen based on their response.

Program a sprite to ask the user a question.

Select a sprite, and add an "ask" block.

Next, add an “if/else” block that makes something happen depending on the user's response.

In this example, the sprite says, "Do you want balloons?"

If the user says "yes," then balloons appear.

If the user does not say yes, then the sprite says “aww okay.”

Your sprite might ask something like: Is it your birthday?

Do you like computer science?

What's your favorite reptile?

What's the best animation?

You can make almost anything happen based on the user's response.

Have fun, and get creative!

Now, it's your turn.

Ask the user a question.

Program different things to happen based on the user's response.

Choose an Add-On
So Much Emotion
Animate a tear falling from the character's face.
Add stars spinning around the character's head.
Show Some Love
Animate a heart effect.
Chit Chat
Animate the characters' mouths to move when they speak.
Program confetti, snow, hearts, or stars to fall from the sky.
User Interaction
Ask the user a question and program a response.
arrow_backward Back
Next arrow_forward
  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!