Patches

Lottie Animation

Lottie Animation

A Layer that can play Lottie animations. Use directly a dotLottie file or load your animation as a JSON through JSON to Lottie Patch.

Lottie Animation

  • Enable
  • Position
  • Size
  • Anchor
  • Lottie Animation
  • Fill Style
  • Opacity
  • Play
  • Rate
  • Loop
  • Scrub
  • Scrub Time
  • Scale
  • Rotation
  • Pivot
  • Current Time
  • Duration
  • Natural Size

Enable

A boolean that is true when the layer is displayed.

Position

The position to display the layer. Use Point 3D to set Z position.

Size

The size of the layer.

Anchor

The anchor point to position the layer relative to. See Coordinates for more information.

Lottie Animation

A Lottie Animation to play.

Fill Style

The animation content sizing behavior: fit, fill or stretch.

Opacity

The opacity of the layer.

Play

A boolean that is true when the animation is playing.

Rate

A number that represents the speed multiplier to play the animation. 0 pauses the animation. 2 plays it at twice the speed. Negative numbers play it backwards.

Loop

A boolean that is true when the animation will loop to the beginning at the end.

Scrub

A boolean that is true when the animation will jump to the time specified in Scrub Time.

Scrub Time

The time to jump the animation to when Scrub is on.

Scale

The scale of the layer.

Rotation

The rotation of the layer. Use Point 3D to set X or Y rotations.

Pivot

The pivot to rotate and scale the layer about. See Coordinates for more information.

Current Time

The elapsed time of the animation, in seconds.

Duration

The length of the animation, in seconds.

Natural Size

The original size of the animation.