Having trouble resetting/pausing a nested timer animation (event not triggering)
Hey everyone,
I’ve run into a tricky situation while working with a Timer component nested inside a Card animation, and I can’t get the event to trigger properly when trying to pause the timer.
Here’s my setup:
I created a Timer animation as a component.
Inside that component, there’s an event placed at the end of the timeline (to trigger when the timer completes).
I placed this Timer component inside a Card artboard, where the event is listened for — when the event fires, the parent card transitions to the next one.
This setup works perfectly: timer plays → event triggers → next card starts.
Now, I wanted to pause the timer when the user hovers over the card (so they can read the card content).
Since I can’t use the Timer’s state machine directly in the parent, I tried controlling the Timer playback through the parent artboard:
I made two timelines in the parent: one for play and one for pause, both calling the Timer component’s timeline.
The visuals work fine — the timer pauses and resumes correctly.
But the problem is: the event from the Timer component no longer fires, since it’s not running from its own timeline/state machine anymore.
So I’m stuck in a loop:
If I control the timer from inside the component → the event works, but I can’t pause/resume it from the parent.
If I control it from the parent → I can pause/resume, but lose the event trigger.
Has anyone dealt with this kind of event loss when controlling a nested component timeline from the parent?
Is there a way to pause/resume a component’s animation while still preserving its internal events?
Appreciate any insights or workarounds!
I have added video as close to my final output, you will get an idea.
1st video - pause on hover.
2nd video - timer runs, on end, the event is passed and next card transition starts, and on click also it changes.