Forum Discussion
How to set up an end trigger with hotspots
- 5 days ago
Since hotspots don't have states, you'll have to use variables to track whether they've been clicked.
- Create a T/F variable for each hotspot, with a default value of false.
- Add a trigger to each hotspot that changes the corresponding variable to True when the hotspot is clicked. Be sure this comes before the trigger that jumps to the drag-and-drop slide.
- On the main page, add a trigger that shows the special layer when the timeline starts on the slide, with conditions that all of the variables = True. (That trigger will run every time the user returns to the slide. But it will only perform the action when the conditions are met.)
If you use transparent shapes with Visited states instead of hotspots, the condition on the trigger to show the special layer would be that all those objects are Visited.
Here are some related posts that might help:
Judy, you are indeed a super hero today. Thank you so much for such a quick and really useful reply. I will go through everything you have suggested and hopefully my issues will be resolved.
You're welcome! Pay it forward when you can. 😊
By the way, the solution in my previous reply assumes that the person can't return to the main page until they finish the interaction associated with a hotspot.
If there is a way for them to get back to the main page before finishing the interaction (for example, there's a PREV button, or the built-in Menu is showing with the main page), the method needs to be altered a bit. In such a case, you'd still use T/F variables to track completion of that segment. But instead of changing a variable to True when the hotspot is clicked, change it True whenever the interaction is completed.
- NikkiClayton4 days agoCommunity Member
Thanks Judy. I ended up using transparent shapes and changing the states which has worked perfectly, thank you. Users cannot go back without completing the drag & drop task.
- JudyNollet4 days agoSuper Hero
I'm glad to hear it's working. Best wishes for success with your projects.
Related Content
- 7 months ago
- 2 months ago