Forum Discussion
Key Press Triggers in Layers
Hi,
I am trying to add key press triggers for Next and Previous slide options in Storyline 360.
This works well when moving from slide to slide, but I would also like to be able to use the Next and Previous options for moving between layers.
What I have found is that if a key press trigger is used on the base layer it can't also be used on the layers - so if I have the left arrow triggering previous slide on the base layer, a trigger using the left arrow to show a different layer on one of the layers doesn't do what the trigger states but moves to the previous slide. Likewise, if I have the right arrow set to show the next layer, this works well for all of the layers but doesn't work on the last layer to show next slide.
Is there a slide/layer setting that I am missing that will allow Next and Previous key triggers to work seamlessly between layers and slides?
Thanks :-)
- KymDutfield-CooCommunity Member
Well I think I have found a work around, it's a bit long winded so if anyone has any better suggestions I would love to hear them. What I am doing is:
- Adding a variable to the layered slides to say if the user is on the base layer or in one of the other layers.
- Setting my slide (base layer) triggers to be conditional on the variable indicating that the user is on the base layer
- Setting layer triggers using the same keys for next and previous as the base layer
This seems to allow the layer trigger to override the slide trigger whenever the user is not on the base layer, obviously there is some resetting of variables if the user revisits the base layer otherwise they would get stuck there - i found I had to use when timeline reaches 0.25s rather than when timeline starts otherwise it was jumping back to the previous slide.
- KymDutfield-CooCommunity Member
Hi Crystal, I have tried it with clicking on the base layer allowed and prevented and get the same results - the trigger in the base layer always overrides the trigger in the subsequent layers. Attached is a sanitised example - Slide 1.1 is just with the key press triggers and slide/layer settings, and slide 1.2 is how I have ended up using variables and triggers to disable the base layer trigger. If you can see an easier/quicker way to get the same result that's great :-)
Thanks for sharing that example, Kym. I'm seeing a bug here, so I'm glad you brought this up! With your setup, you should be able to use the keypress trigger to advance through the layers. I'm going to document this issue for my team to investigate, and I'll keep you posted here.
For now, please use the workaround with variables you developed!
Hi there, Kym. Do you have your layer properties set to allow clicking on the base layer? Slide layers are just another piece of the same slide. Often, your base layer triggers will still function when the action is executed on the layer unless clicking on the base layer is disabled.
If you'd like, share your project file here for folks to have a closer look at the setup!
- RobPauzaCommunity Member
Any progress on this issue? I believe I am experiencing the same.
A key trigger on the base layer still is active on additional layers even with 'Hide objects on base layer', 'Prevent user from clicking on the base layer' and 'Pause timeline of base layer' all checked.
Hi there!
Sorry you're running into this snag! Our team is still investigating this bug. In the meantime, you can share your file with us so that we can discover if a workaround will be the fix!
You can do so by using the "add attachment" button in this discussion. Or you can share the file privately with our Support Engineers by using this link.
- LinahTul-Jam277Community Member
Hi Lauren, any updates on this issue? I am running SL360 v3.46 and still having the same issue as LC CMP.
Hello Linah!
I don't have an update to share. Our team is currently prioritizing other bug fixes, but I'll make sure to report back when this fix makes it on our roadmap.
- LinahTul-Jam277Community Member
Thanks for your response Lauren.
- carolfowler-f24Community Member
Keypress triggers for sliders? Using keys move the slider?
- WaltHamiltonSuper Hero
Try adjust variable Slider1 add 1 when + is pressed. The slider will move as its variable is changed.
Caveat: you also need to install some error checking to avoid increasing variable beyond the upper limit of the slider. Add if Slider1 < (upper slider limit
- carolfowler-f24Community Member
Hi - yes my problem was the 'seamless' transactions.
One more question. I need to use a key press that will apply across all devices. Which key would you suggest? I just used 1 for left and 2 for right and enter to FIRE!
Thanks for the reply..
- BeccaLevanCommunity Member
Hi Everyone!
I'm happy to return to this discussion with some great news 🗞
We've fixed the issue you experienced where keypress triggers aren't working on a layer when same trigger exists on base layer.
Be sure to install the latest Storyline 360 update (Build 3.50.24668.0) to take advantage of all the recent features and fixes.
If this happens again, please let us know! Or you can work directly with our support engineers here.