MotionScript

@motion-script/core


@motion-script/core / WiggleOptions

Interface: WiggleOptions

Defined in: nodes/base/node.ts:123

Call-wide options for Node.wiggle, the trailing bag that shapes every prop in the call (mirrors how TweenOptions bundles ease/lerp/delay).

Properties

frequency?

optional frequency?: number

Defined in: nodes/base/node.ts:129

Oscillations per second — higher is faster/twitchier. Applies to every prop in the call; for a per-prop rate, use a second wiggle in the same parallel. Defaults to 4.


settle?

optional settle?: number

Defined in: nodes/base/node.ts:136

Fraction of the duration (01) spent easing each offset back to its base at the end, so props land without a snap. 0 is a hard cut (stop mid-swing). Defaults automatically to a short window that shrinks for longer wiggles, and is 0 for an unbounded (Infinity) duration.