Displaying Variables

Let's put those variables to good use! The first thing we can do is display a variable. To do this we use the following syntax:

[[favorite_pet]]

By putting the variable name inside double brackets we are telling the app to show the value of the variable (ie. dog, cat, or other). Here's what this could look like later on in the conversation:

Here's what that looks like in the avatar:

Notice how it replaced the variable name with the variable's value.

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