Lottie Animation Control in Slider

I am working with a Slider with several Lottie Animations on it.
I should need a trigger to control Lottie Animations, but I wonder if there is an approach to control Lottie animations with code so as to set when they should start and pause.

An example: I have a Slider with 4 slides, each slide has a Lottie animation.
So I have these slides:

  • Slide 1 - Yellow Car
  • Slide 2 - Red Car
  • Slide 3 - Unicorn
  • Slide 4 - Horse

When I go to any slide I want to see the Lottie Animation from beginning

Published site - slider-lottie

Preview - Webflow - Fernando Comet Portfolio