Trigger an event on entering or exiting a slide
Jun 29, 2022
By
Ben Kill
Hi All,
Is it possible to trigger an event to happen, for example changing a variable, on entering or exiting a slide?
The closes way of doing it I can see is triggering from when the timeline starts or ends. But doing it this way, for example, if i set the variable to change when the timeline ends, and the user click off of the slide before the timeline ends then the variable does not change; which will impact the rest of the course.
Changing the variable from exiting the slide will give me the security that it has definitely happened.
If this is not possible, any advice?
Thanks for your help in advance.
3 Replies
Trigger the exit activity with clicking the object that exits the slide. Be sure you change the variable BEFORE the "Jump to ..." trigger, or it won't work.
If you need to, you can change the variable on both the "Click to Exit" object, and the "End of timeline", if end of timeline advances the slide.
Thank you. This nearly covers it. The only issue that is still there is if the user clicks away from the slide from within the menu found in the integrated player.
It’s unfortunate you cannot make events from entering and exiting the slide. This is possible in other authoring tools.
Thanks again.
Hi Ben,
You can also change your variable when the next slide loads, which should happen as quickly as when the user 'exits' the current slide. Let's take for example Slide A:
I would also recommend creating a feature request to our product team to let them know about your need for this functionality.