Checkbox not checking even though variable changes
I am attempting to build a Progress slide that will check boxes for each section of the course as the user visits the pages and layers. Each layer has a variable called LayerNameVisited that is set to True when the timeline of the layer begins. I have set a trigger to change the state of the checkbox to Selected when LayerNameVisited changes if LayerNameVisited=True. I think the variable works fine in other areas (e.g., I only play the audio intro if that variable is False).
Nothing was working with that, so I set up a test shape on the same page as the checkbox, to see if that worked. The trigger on the shape says to change the state of the checkbox when the user clicks it. This feature works fine. Is it the case that the variable doesn't survive between slides/scenes? I thought that was the point of variables. Or am I just not adjusting the variable properly when the user visits? Any insights are appreciated!