https://vimeo.com/1131593156?share=copy&fl=sv&fe=ci

Sometimes making state machines can be a bit overwhelming, especially if you are still new to using them. Fortunately, Lottie Creator comes with a specialized LLM that can build state machines for you from prompts.


icon animation.png

Prompt to State Machines can be located next to the Play button in State Machines Mode. You can simply chat with it to get your desired state machine.

play.png

Ai prompt to SM.png


segments.png

tip.png

You will, of course, need to already have your animation with segments set up.

This example is for a simple button UI element. It already has three segments for idle, hover, and click. Keeping everything clearly named and organized will help the AI be more effective in creating your state machine.


Here are a few best practices for writing good prompts:


Continue reading:

Animations and Segments

Inputs and Interactions

States and Transitions

Return: State Machines