Forum Discussion
AriAvivi-744c07
3 years agoCommunity Member
Having an exit animation triggered by a change in a variable
Hello all,
Can this be done?
I have a puzzle type module. 9 puzzle pieces, that when you click on each one it takes you to a question to answer.
When you complete the question a trigger chang...
TomKuhlmann
3 years agoStaff
When an object has an exit animation applied and you have a trigger to change the state to hidden, that should trigger the exit animation.
However, a challenge is that the object will exit when it gets to the end of the timeline. So you need to pause the timeline to not trigger the exit animation.
Without seeing the interaction, here's how I'd design it:
- puzzle shows
- click to question
- use a t/f variable on question slide; change
- answer question; change variable
- when returning to puzzle slide, change the state of the puzzle piece to hidden when timeline of slide starts on condition that var = X