Authors
Video Tutorials
Overview of Variables in Storyline
Variables are a way to remember information—such as a learner's name or numeric input—and then present dynamic content based on that information. They're also a great way to add conditional interactivity to your course. In this webinar, we’ll cover common use cases for variables and provide some basic tips for using them in your projects.
Articles and Tutorials
- Storyline 360: Working with Variables
- Storyline 360: Adding Variable References
- Storyline: What "Object Loses Focus" Means
Examples of Variables
E-Learning Challenges
- Use Learner's Name in E-Learning Course #222: Challenge | Recap
- Using True/False Variables in E-Learning #271: Challenge | Recap
- Using Variables to Compare Learner's Answers #292: Challenge | Recap
- Random Number Variables in E-Learning #278: Challenge | Recap
Examples and Downloads
- Custom Bookmark Menu: Example | Download
- Pizza Making Toggle Buttons: Example | Download
- Choose Your Avatar
- Personalize E-Learning with Toggle Buttons: Example | Download
- Travel Planning
- Polygraph Test True or False: Example | Download
- Personalize E-Learning with Variables Example | Download
Additional Resources
- The Case for Variables in E-Learning
- Simplifying Variables for Better E-Learning
- Consistency in Production: Naming Variables for E-Learning
- Here’s an Easy Way to Troubleshoot Courses with Variables
Next Steps
Now that you know how variables work in Storyline 360, it’s time to practice what you learned. Here are some suggested activities to help you practice working with variables:
- Activity 1: Insert a text-entry field on slide 1.1. Rename the variable “FirstName” in the project variables window. Insert a variable reference on slide 1.2 to display the value of the variable.
- Activity 2: Create a new text variable and name it “Character.” On slide 2.1, add a variable reference for the variable. Add triggers to each character to change the value of the variable to: Lily, Andrew, and Shannon based on which character is clicked. On slide 2.2, change the state of the character based on the value of the variable.
- Activity 3: Create a new number variable and name it “Clicks.” Using the buttons on slide 3.1, assign triggers to adjust the value of the variable when each button is clicked.
- Activity 4: On slide 3.1, add conditions to the buttons that change the state of the buttons to disabled when the value of the variable equals +10 or is -10. Add a second condition to the buttons to change the buttons back to normal when the variable is between -10 and 10.
Updated 6 days ago
Version 2.0