Forum Discussion

ChristinaCohen-'s avatar
ChristinaCohen-
Community Member
4 years ago

Changing State of "Next" with HotSpot Conditionals

Hello! 

I'm having issues with this one slide. I've scrubbed every trigger and project variable but I don't see where the breakdown is. I'm hoping some other eyes can catch the problem. 

What I would LIKE to happen is change the state of the "Next Button" to Normal when the audio ends and ALL hotspots (layers) have been visited. 

I appreciate the help - I've attached the file for reference. 

  • Hi, Christina.

    Thank you for sharing your .story file! 

    The main trigger in your project checks if all the layers were visited when the media completes. It will do the check only when the audio finishes. It works well if the user visits all the layers before the audio finishes, but it won't check again to see if they visited it after. 

    I suggest adding a T/F variable (let's call it AudioComplete) that turns True when the audio completes. You can then add another trigger that enables the Next button when all the pictures are in the visited state IF AudioComplete is True.

    Windows 10 (1) 2021-06-17 at 3.17.56 PM

    I'm attaching the edited .story file with my suggestions.
    Let me know if this works!