Hi. Is there any way to control lottie animation in gsap timeline?
For example, add lottie between these animations.
tl
.from(".card1", {y: '-200vh', rotation: 180})
//Animate lottie here while scrolling into trigger view like:
//.to("#myLottie", {lottiePlayback: 100%})
.from(".card2", {y: '-200vh', rotation: 180})
.from(".card3", {y: '-200vh', rotation: 180})
Like in Webflow there is a feature to control lottie in timeline.
I have already tried with ScrollLottie plugin and read a lot of topics about it but I didn't find how to do it. All solutions do not insert in the timeline that exist.