Changing a state using a variable
I am trying to change the state of a sticky from normal to complete when the user completes watching the screenrecording .
This is the screen the sticky is on:
I have a variable called login set to change to True at the end of the screen recording that shows in a lightbox.
The trigger to change the state is on the main slide:
I set a reference variable to make sure login changes when the screen recording ends and it does.
Does the Usage for variable window show the order in which the variable is checked/changed throughout a course? If so, what I noticed in the Usage for variable login is the trigger on the main slide is completed before login is changed to true and never checks again.
So far, it only changes if I set the When on the trigger for the main slide to Timeline ends AND login equal to True. I want it to change as soon as the lightbox closes since login has changed to True.
Any suggestions on how I can get the state to change right after the lightbox closes?