Forum Discussion
Changing the state of an object
Hi,
I'm hoping there is an expert out there that can help.
Is it possible to changing the state of an object on slide 1, when user clicks object on slide 2 and is returned to slide 1 .
I have an object on slide one that changes state when hovered over. This object jumps the user to a second slide when clicked. I want that object to change state to show visited after the user has clicked the object - but don't want that state to show until the user has been taken to slide 2 and then return's back to slide 1.
Thanks
Lee
- JudyNolletSuper Hero
If you don't want the object to immediately "show visited" when it is clicked, then don't use the Visited state. The Visited state has built-in functionality, so any object with that state will change to that state when clicked.
Instead, give the object a custom state. For example, call it "Done." Then use a variable to track whether the other slide has been visited, and conditional trigger on the main slide to change the object to "Done" based on the value of the variable.
- This post has more details about how to control the state of an object based on the user's actions elsewhere: https://community.articulate.com/discussions/articulate-storyline/create-a-custom-menu-slide