In this add-on,
you will change your message based on the user's response
to a question.
This video won't tell you all of the steps,
but it will help get you started.
You can target your message to your user
by asking the question
when the sprite receives the play message.
Add a conditional statement, an equals operator,
and an answer block
to make the sprite say something based on the user's answer.
In this example, the spokesperson sprite asks
if the user cares about sports.
If the user's answer is yes, then the sprite says, great.
If the user's answer is no, then the sprite says,
I hope I can convince you that sports are important.
You can ask the user any question you like
and make the sprite respond with different messages based
on the answer.
Now it's your turn.
Ask the user a question,
and program the spokesperson sprite
to say different responses based
on the answer using a conditional and operator block.
Customize your video with different backdrops.
Create an exciting video opening.
Add other characters to support your cause.
Add uplifting music that will start when the play button is pressed.
Change your message based on the user's response to a question.
Get the sprites moving!
Sign in to track your progress and earn badges