Command Palette

Search for a command to run...

Interactivity & State Machines

Build interactive animations without code by using dotLottie state machines in Lottie Creator.

User Interface

State Machines Mode can be accessed with a toggle near the top right of the screen. It contains a number of tools for creating and testing state machines.

State Machines Mode

Inputs and Interactions can be created and managed in the right side panel.

Interactions

States can be created and managed in the bottom left side panel. Drag and drop to create a state.

States Side Bar

The Canvas is where state machines can be modeled visually.

Canvas

The Floating Panel can be used to play the state machine. It is also where Prompt to Sttate Machines, our state machine-creating AI, can be accessed.

Floating Panel

How state machines work

  • States: Named playback configurations (timeline segments, speed, direction).
  • Inputs: Variables that store values (Boolean, Numeric, String, Event).
  • Transitions: Rules that move between states, optionally with guards and tweening.
  • Interactions: User events (click, hover) that trigger actions.
  • Actions: Operations that change inputs, control playback, or fire events.

State machines let you design hover effects, clickable UI, data-driven visuals, and multi-step flows directly in the editor.

Applies to: Lottie Creator (Web), dotLottie state machines

Last updated: April 10, 2026 at 9:12 AMEdit this page