Motion
Get Motion

ReferenceScripting APIEasing

Easing

type

How a move eases: one of the names, a cubic Bézier's control points [x1, y1, x2, y2] (as CSS has them), or a curve drawn as values evenly along it ({ curve: [y0, y1, ...] }).

NameEasing
Kindtype
Script reaches it asMotionAnimateOptions.easing
Since0.3

Syntax

type Easing = "linear" | "step" | "sineIn" | "sineOut" | "sineInOut" | "easeIn" | "easeOut" | "easeInOut" | "expoIn" | "expoOut" | "expoInOut" | "circIn" | "circOut" | "circInOut" | "backOut" | "bounceOut" | "elasticOut" | [number, number, number, number] | { curve: number[] };