Markers: Visited and Normal States

Jun 20, 2023

Hello! I am attempting to have learners click markers to reveal text and audio. However, if the learner decides to move backward and click a marker they already clicked, the state of the subsequent marker will revert back to normal (when I want them to stay visited). I can see how that takes place based on how the triggers are set, but I am wondering if someone can help me out to show once a marker reaches the visited state that it can't revert back to another state (like not being able to go back to normal state). I tried playing around with variables a bit but couldn't get anywhere. Any help would be greatly appreciated! 

3 Replies
Luciana Piazza

Hi Nathan! 

Thanks so much for reaching out! I'd be happy to jump in and share an option with you! 

I went ahead and took a sample from your course to show you how I adjusted the triggers on my end. 

Here's how I created this:

1. You want to start by creating a T/F variable and associating it with each clicked marker.

(To get this going, you'll need to go to the Manage Product Variables Icon, and once the Variables window is open, go to the green Create a New Variable icon.) 

You'll want to add 7 for each marker within your course with the Default Value set to False. 

2. Then, you will want to add a trigger to set these variables to be set to true when a user clicks on them the first time.

      a. Once you have the variables set up, you’ll need to locate the exact trigger responsible for changing the state of a marker. Then you will add a condition to only change the state of its corresponding variable is false (true indicates that the marker has already been clicked).

Here is a visual of the trigger setup with the RMP marker: 

Attached you'll find a sample so you can take a closer look at the setup. Please let me know if you have any additional questions after looking at my sample! 

I hope this helps! Looking forward to hearing from you, Nathan!  ✨

Luciana Piazza

Hi Nathan!

Hope you had a nice weekend! 🎉

I took a second look at your file and realized an easy fix!

It looks like you were inserting additional triggers to manually trigger the visited state for the markers. This is what canceled out the functionality that is already set within our Built-In States

Attached you'll find an updated version of your file.

Please let me know if you have any questions!