True/false variables are one of the simplest types of variables, making them a great starting point for course designers new to working with variables.
Unlike text variables, which can require open-ended fields for evaluation, or number variables that require advanced operations such as addition or multiplication, true/false variables only hold two possible values of data: true or false.
True/false variables are super versatile and one of the most popular variables in e-learning.
A few common ways to use true/false variables include:
- Quizzes: Did the learner answer the question correctly? If true, show Layer A; if false, show Layer B.
- Branching scenarios: Depending on the learner’s choices, you can branch them to one of two different paths or scenes.
- Progress tracking: Did the learner complete a lesson or scene? If completed, show a checkmark icon in the menu.
Here are a few examples users shared in previous challenges:
- Pizza Making Toggle Buttons: Example | Download
- Toggle motion paths with web objects
- Travel Planning
- Polygraph Test True or False: Example | Download
- Custom Bookmark Menu: Example | Download
Challenge of the Week
This week, your challenge is to share an example that demonstrates how true/false variables can be used in e-learning.
Variables can be tricky if you’re new to e-learning. If there's a concept or idea you're attempting but get stuck or have questions, hit us up in the forums and we’ll help you out.
- On-Demand Training: Using True/False Variables in Storyline 360
- User Guide: Adding Variable References
- User Guide: Working with Variables
- User Guide: Adding Conditions to Triggers
- Video Tutorial: Create a Toggle Button to Show Hidden & Disabled States in Storyline 360. This example uses a recent update in Storyline that lets you toggle a button’s hidden or disabled state without using variables.
Share Your E-Learning Work
- Comments: Use the comments section below to link your published example and blog post.
- Forums: Start a new thread and share a link to your published example.
- Personal blog: If you have a blog, please consider writing about your challenges. We'll link to your posts so your great work gets even more exposure.
- Social media: If you share your demos on Twitter or LinkedIn, try using #ELHChallenge so your tweeps can follow your e-learning coolness.
Last Week’s Challenge:
Before you dive into this week's challenge, check out the creative ways course designers are using the latest features in Articulate 360:
New to the E-Learning Challenges?
The weekly e-learning challenges are ongoing opportunities to learn, share, and build your e-learning portfolios. You can jump into any or all of the previous challenges anytime you want. I’ll update the recap posts to include your demos.
Next Week’s Challenge & Webinar
- Next week's challenge #422 (June 30): 3D Cube Menus and Interactions (working title but something similar to this recent share.
- Upcoming webinar (June 27): Using True/False Variables in Storyline 360
Got an idea for a challenge? Are you interested in doing a webinar showcasing how you made one or more challenge demos? Or do you have some comments for your humble challenge host? Use this anonymous form to share your feedback: https://bit.ly/ElearningChallengeForm.