Trigger Lottie animation with a button

I’m playing around with the new Lottie integration, it’s been great so far! What I want to do is triggering an animation, when a button is clicked (not when the animation itself is clicked). Is there a way to do this?

1 Like

So you’ve selected your button and added a click trigger, then created a new animation. Now, select the lottie animation element in the designer, then come back to the animation panel and click + to add an action. Select Lottie in the list of actions and from there, set the playback as desired.

https://sbx.webflow.io/

1 Like

Thank you Vincent! I didn’t know I had to select the Lottie animation when adding an action.