Forum Discussion
amaulaz
9 days agoCommunity Member
Delay Visited State to show star icon + 1
Hi everyone! I am looking for a way to solve this issue in Storyline: I have to delay 2 seconds for the learner to see the star as the visited state of a button. I know an alternative solution is to ...
Nedim
9 days agoCommunity Member
If I were building this, I would explore a few different ways to 'trick' the default behavior of the "Visited" state so it only fires after a specific delay. Here are the two options:
Option 1: The JavaScript Approach (Cleanest) Using the Storyline JavaScript API, we can trigger the state change after a set time without cluttering the project with extra triggers. It’s highly efficient and allows for a precise 3-second delay that doesn't feel 'laggy.'
Option 2: The Motion Path Workaround (No-Code) If you prefer to stay within native triggers, you can use a hidden object on a 3-second motion path.
- Create a trigger to change the button state to "Normal" the moment it's clicked (to override the instant "Visited" state).
- Start the hidden object's motion path on that same click.
- Add a final trigger to change the button to Visited only when that motion path completes.
Related Content
- 8 months ago
- 10 months ago