I have a base layer and multiple slide layers. I have tried to create a trigger on a slide layer so that when the next button is selected, it will show the next slide layer. The action is set to show layer, the layer is selected, the when is set to user clicks or swipes, and object is set at next button/swipe next. I create the trigger on the layer but when i click on ok, the trigger automatically moves itself to the base layer and it doesn't work at all. How can I get this to work?
This is really difficult because the Next button is on the base, and all the layers are part of that base, so there is only 1 available Next button for all of them. It can be done, if you are willing to work hard enough. You have to track which layer you are on, and which one to go to next.
Use variables to track which layer you are viewing. Attach triggers to the NEXT button like this:
Show layer XXX when user clicks Next button on condition that variable whichLayer = XXX-1
You need a trigger for each layer.
Place this trigger on each layer:
Adjust variable whichLayer =assignment value (next layer number)
Personally, I think the simplest ways are the best. I don't use built-in NEXT. I create a navigation button that shows up at the appropriate time, and has one trigger. It performs the appropriate action, whether that is a jump, or revealing a certain layer. If it is a situation where I want the user to have a choice, there is a place to click for each option.
I would have to experiment to find out for sure, and I'm not in a position to be able to do that right now. You can help others with the same problem by reporting back here with what you find.
I ended up adding a Previous and Next button to my last slide layer and disabled those buttons that are embedded in the player. I made sure that my hotspot is in front of all objects except the Previous and Next buttons I added to the slide layers.
Thank you for sharing what worked in your scenario!
I just wanted to add a quick note: it looks like your email signature came through when you replied via email. You can remove it by clicking ‘Edit’ below your response. Here’s a quick Peek 360 video if you need help.
7 Replies
Best if you can share your .story project file with the community via ADD ATTACHMENT
This is really difficult because the Next button is on the base, and all the layers are part of that base, so there is only 1 available Next button for all of them. It can be done, if you are willing to work hard enough. You have to track which layer you are on, and which one to go to next.
Use variables to track which layer you are viewing. Attach triggers to the NEXT button like this:
Show layer XXX when user clicks Next button on condition that variable whichLayer = XXX-1
You need a trigger for each layer.
Place this trigger on each layer:
Adjust variable whichLayer =assignment value (next layer number)
Personally, I think the simplest ways are the best. I don't use built-in NEXT. I create a navigation button that shows up at the appropriate time, and has one trigger. It performs the appropriate action, whether that is a jump, or revealing a certain layer. If it is a situation where I want the user to have a choice, there is a place to click for each option.
I like the idea of adding a navigation button but how does that work on a tablet or phone, where they may be swiping instead of clicking?
I would have to experiment to find out for sure, and I'm not in a position to be able to do that right now. You can help others with the same problem by reporting back here with what you find.
I ended up adding a Previous and Next button to my last slide layer and disabled those buttons that are embedded in the player. I made sure that my hotspot is in front of all objects except the Previous and Next buttons I added to the slide layers.
Melissa
Hi, Melissa.
Thank you for sharing what worked in your scenario!
I just wanted to add a quick note: it looks like your email signature came through when you replied via email. You can remove it by clicking ‘Edit’ below your response. Here’s a quick Peek 360 video if you need help.
Thanks, Maria!