How can I make a Lottie animation interactive?

You can use Lottie State Machines to create interactions without writing all the interaction logic yourself, or use code to control playback and respond to user actions. State Machines are supported in the .lottie format and players. Learn more: https://docs.lottiefiles.com/en/creator/11_interactivity-and-state-machines