User Input Variables

Variables can also be set by letting a user type in their own value. To do this add a button name on an arrow and on the next line type this syntax:

variable_name = [user_input]

The [user_input] tells the avatar to give the user a text box to type in. Here's how that looks in Draw.io:

And here's how that looks in avatar form:

You are now able to use the pet_name variable just like you would any other variable!

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.