Motion
Get Motion

ReferenceLayersLines and shapes

Lottie animation

A Lottie animation, sharp at any size (not on every system).

Kind
Layer · Lines and shapes
Script name
lottie
Cost to draw
Heavy
The Lottie animation layer with its default settings
The Lottie animation layer with its default settings.

Lottie

SettingKindStarts atRange and notes
Filesourcelottie filenoneA Lottie .json file
Speedspeednumber1×0.1 to 4×
Looploopon or offon–
Framessegmentlow and high[0, 0]0 to 100000 to 0 plays it all
FitfitchoiceWholeWhole, Fill, Stretch

From a script

Every setting above can be changed by the scene's logic, by its key. Say the layer is called Lottie animation:

scene.set("Lottie animation", "speed", 4);scene.animate("Lottie animation", "opacity", 0.5, 2);
What every layer has

Besides its own settings, every layer has its opacity, blend, placement, quick effects and an effects stack. They're listed once, on the layers page.