Motion
Get Motion

ReferenceScripting APIMotionAnimateOptions

MotionAnimateOptions

interface

How scene.animate moves: its easing ("easeInOut" unless given), a delay before it starts (seconds), and whether it loops (true round and round, "pingpong" there and back).

NameMotionAnimateOptions
Kindinterface
Since0.3

Syntax

interface MotionAnimateOptions { … }

Properties

NameTypeDescription
easingpropertyEasingHow it eases from one value to the other ("easeInOut" when it isn't given).
delaypropertynumberSeconds to wait before it starts.
looppropertyboolean | "pingpong"True to play it again and again; "pingpong" to go there and back.

See also

Easing