Use Variable to Show Hidden Marker
Feb 21, 2023
By
Robert Nowak
Here is a simplified version of what I'm looking to do.
Slide 1 has a box that links to slide 2 when you click it. Slide 2 contains text and a back button that returns to slide 1 when you click it. I would like a checkmark marker to display next to the box on slide 1 when slide 2 has been visited. I set a variable for when the back button on slide 2 is clicked and tried to use that on slide 1 to either show or not show the checkmark, but I can't get it to work right. I can get it to show but then it immediately disappears again. What are the triggers/variables I need on these two slides to make this work?
12 Replies
Have you tried adding a check mark to a visited state on the button. That should work with out any additional variables or triggers.
How does one do that?
Select the button. Click Edit States. Select Visited. Add a shape to the button.
I need the checkmark on a different slide though. I seem to only be able to add the shape to the same slide as the button.
Create the check mark on slide 1. Create a trigger for it: “Change state of CheckMark to Normal when timeline on this slide starts if Variable = True, else change state to Hidden.”
On Slide 2, create trigger for Back button: “Set Variable = True when user clicks Back button” and a second one to FOLLOW it: “Jump to slide 1 when user clicks Back button”. Be sure Variable defaults to False. You may have to set the initial state of CheckMark to Hidden.
Just to confirm . . . Do you have the "box" on both slides? I am not sure if I understood your initial design.
Yes, a box on slide 1 that take you to slide 2. And box on slide 2 that returns to slide 1. When the box on slide 2 is clicked, I would like an indication near the box on slide 1 that it was visited.
Walt - how do you do the "else" part of the trigger? I don't see an if/or choice.
Are you using Storyline 360? It is not available in Storyline 3. If your Storyline software has not been updated recently, you will not have the option either. The "else" option was added in Update 70 back in November of 2022.
I am on Storyline 360.
If your software is up-to-date, then you have the Else option in your trigger panel. It does not appear until you first add a condition.
Actually just updated and the else is now there. Funny, I have had several updates since November.