MotionScript

@motion-script/core


@motion-script/core / EffectAxis

Type Alias: EffectAxis

EffectAxis = "x" | "y" | "both" | Vector2

Defined in: attributes/shape/effects/effect-data.ts:37

Axis (or axes) an effect acts along.

"both" (= { x: 1, y: 1 }) uses the full 2D vector; "x"/"y" isolate a single axis; a Vector2 gives fractional control per axis. Shared by every axis-selecting effect so scatter and motionBlur speak the same vocabulary.