Search...
speed
Sets or gets the Lottie animation's playback speed.
Description
The Lottie animation's speed is relative to its original speed. For example, if the speed
is 2, the Lottie animation plays twice as fast as its original speed. If the speed
is 0.5, the Lottie animation plays half as fast as its original speed.
Type:
numberRead & Write, default value is 1
Was this helpful?
Get the Lottie animation's speed
Copy Code
1let animationSpeed = $w('#myLottie').speed; // 4
Set the Lottie animation's speed
Copy Code
1$w('#myLottie').speed = 4;