Forum Discussion
Can 1 trigger do both actions?
Hello,
Really new and this might be really obvious but is there a way for 1 trigger to do 2 actions. I want an icon to hover to show its full name and then be able to click into a layer.
I have one trigger to change the icons state and another to open the layer but it will only take the hotspot that is at the front. Is there a way for the trigger to do both actions?
- JudyNolletSuper Hero
Hover is a built-in state. When an object has a Hover state, it will automatically show when the user mouses over the object.
- A trigger that duplicates that built-in action could cause issues. Here's more info: https://community.articulate.com/discussions/articulate-storyline/primer-take-advantage-of-built-in-states
A trigger can only perform one action. (That is unless it has one or more conditions along with an "Else" statement.)
Based on your description, it sounds like you have a hotspot placed over an object so that the hotspot can be clicked to show a layer. That's not needed. You can add a "when user clicks__" trigger to any object. Here's more info: https://community.articulate.com/series/articulate-storyline-360/articles/articulate-storyline-360-user-guide-how-to-work-with-triggers