Layer not displaying when 3 objects are visited

Sep 15, 2023

Hi,

I have a really simple slide where 3 objects, when clicked, are put in a "visited" state. Each of those objects triggers a layer to display. I have a trigger on all layers that states to display a 4th layer (with a "continue" button) when all of the objects are in a "visited" state. The 4th layer never displays in the preview. Any suggestions?

3 Replies
Walt Hamilton

I’m not in a position to look at your story right now, but I can suggest two problems that are very common in this type of scenarios.

1. If you created triggers to change the state of the objects to “Visited” when they are clicked, delete them. The Visited state has those triggers built in, and if you create them, it almost always causes nasty conflicts.

2. If your triggers to show the fourth layer are “when the state of …”, expect them not to work (for a number of reasons). Instead try “show fourth layer when user clicks Continue if [all three objects] state is Visited else [hide this layer]”.

If neither of those is the problem, I will try to look at the file later.

 

John Stanik

I completed your steps 1 and 2, but it still wasn't working (I'm sure I wasn't doing it correctly).

I did it a bit differently and almost have what I need. I removed layer 4 altogether and added a hidden "continue" button to the other 3 layers. I added triggers to set the state of the individual new buttons to "normal" when the original 3 objects are in a visited state. 

The final problem is that I want the new button to display with the click of the 3rd object, regardless of the order in which they are clicked.

Right now, I have to click each object (in any order), and then click any of them again to get the new button to display.

Any suggestions?  The new version attached.