Forum Discussion
- CatherineGormanCommunity Member
Hi Ashlyn,
The easiest way I can think to do this would be to set the state of each of your close layer buttons to "visited" when your user clicks them. Then you can use conditions for your next button so that it checks that all the layers have been visited first before letting the user move on. I've attached what those triggers would look like with less layers, but it would be the same process.
- AshlynRoberto-8Community Member
- CatherineGormanCommunity Member
The dashes indicate that I have the "group triggers" setting turned on (the check box at the top right of the triggers list). It makes it easier to view multiple actions triggered by the same event (the "When" under the trigger wizard), but it doesn't impact functionality.
It looks like you have the state of the close button being visited under your conditions right now. If you remove it from the conditions, you can copy and paste your first trigger that hides the layer when the user clicks close and then change the action from "Hide layer/this layer" to "change state/Close 1 to visited".
- AshlynRoberto-8Community Member
Got it THANK YOU!!!!!!!
- AshlynRoberto-8Community Member
- CatherineGormanCommunity Member
Nope. The if statements do that work for you.