Interactivity

dotLottie files can contain multiple state machine definitions allowing you to easily add and playback lottie animations with complex interactions without writing code. You define your state machines with dotLottie-js, export your .lottie file and use the dotLottie players to load up your animation and state machine config, allowing you to have deeply interactive animations without having to write interactivity code yourself.