Skip to content

Please update your browser

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

Choose an Add-On
play_circle_filled
Sunrise, Sunset
Program a sunrise or sunset for your story.
arrow_forward
play_circle_filled
Weather
Program objects to fall from the sky.
arrow_forward
play_circle_filled
Music Fade
Add background music which fades in and out.
arrow_forward
play_circle_filled
Slow Motion
Add a slow motion effect to your android.
arrow_forward
play_circle_filled
Draw
Use the drawing tools to add your own animation.
arrow_forward
play_circle_filled
User Input
Interact with the user of your program.
arrow_forward
  • 1. Android Story Introduction
  • 2. Tell the Story
  • 3. Android Actions
  • 4. Animate Actions
  • 5. Add-Ons
  • 6. Reflection
  • 7. Wrap-up: Android Story
  • 8. Wrap-up: Share Your Project
  • 9. Wrap-up: Show Your Project
arrow_backward Back Next arrow_forward
Transcript

In this add-on, you will program your android to interact with the user by using their Scratch username or asking them a question.

Drag out a “username” block.

When clicked, this block senses the username of the user.

If you want to say something to the user, like “hello Scratch User,” add a “say” block and a “join” block from the operators menu.

Use multiple “join” blocks to add text before and after the “username” block and incorporate it into the android’s story!

Or, ask the user a question in the “ask” block, then respond to the answer using the “say,” “join,” and “answer” blocks.

This example asks the user if they like summer or winter, and then incorporates their favorite season into the story.

Now, it’s your turn.

Interact with the user: Incorporate their username and responses into your story.

Instructions
  1. Choose an add-on, and click the "Watch" button to learn how to build it.
  2. After you finish, come back to the add-ons Screen to try another add-on!