Showing and hiding multiple layers with one click?

I've created a button/grid interaction where clicking on any of the buttons on the base layer shows a layer with a second set of buttons, and clicking on any of those buttons displays another layer containing text. So all 3 layers are seen on the screen together.

I'm trying to figure out a way to hide or show 2 or more layers with one click, instead of having to add multiple triggers for each action.

I've tried selecting the "hide other slide layers" visibility box on the layers and then adding a trigger to show specific layers when the layer timeline starts, but it will only show one layer that way - it ignores the second "show layer when timeline starts" trigger.

Thanks for any help on this.

3 Replies
Walt Hamilton

You said : "I'm trying to figure out a way to hide or show 2 or more layers with one click, instead of having to add multiple triggers for each action."

Show layer 1 when user clicks button 1

Show layer 2 when user clicks button 1 -- Unless I miss my guess, you have already spent way more time than it would take to write these two triggers, but maybe I don't understand what you want to do. It would help me a lot to understand if I could see your file.

Still here are some things I do know:

The "hide other slide layers" visibility box controls only what you see in development mode, not what the user sees.

You are right that by using the beginning of a timeline on a layer, you can show only one additional layer. But you can take an object on that second layer, set it on the timeline to .1 sec, and set a trigger on it to show layer 3 when its timeline starts. (Sort of cascading openings - each layer opens, then .1 sec later, one of its objects opens the next layer.) Of course, this is entirely dependent on none of the layers being set to hide other layers.

If all this sounds confusing, attach your .story file here, and someone can probably give you more specific help.