Can I set up onboarding screen transitions in Lottie triggered by a “Next” button?

Hi everyone! I’m a motion designer who usually works with Lottie, and I’m trying to figure out if a specific animation setup is possible so i can handoff a working file to the devs.

I’ve been asked to create an onboarding animation for three screens. Instead of making a different animation for each one, this time I made a unique animation that morphs between the 3 states (which represent the onboarding screens). Basically each screen has its own visual state, and the animation should morph between them when the user clicks a “Next” button. So essentially, the animation needs to respond to user input and play the correct transition.

Here’s the structure I’m imagining:

  • 0–3s: first screen [reciept]

  • 3–5s: transition to second screen [tokens]

  • 5–7s: transition to third screen [giftcard]

I’m wondering if it possible to structure this kind of timeline-based animation in Lottie? I simply need to handoff the animations not the whole screen with the button trigger

Any tips would be really appreciated 🙏 I’m also leaving a preview of my animation so it can be clearer to you