MotionScript

@motion-script/core


@motion-script/core / ScatterEffect

Interface: ScatterEffect

Defined in: attributes/shape/effects/implementations/scatter.ts:5

Mixin: every effect declares the layer it targets via EffectMode. Omitted is treated as "foreground". A single uniform field across all effects means the backdrop/foreground classifier never has to branch on type.

Extends

Properties

axis

axis: EffectAxis

Defined in: attributes/shape/effects/implementations/scatter.ts:13

Which axis (or axes) pixels are displaced along.


mode?

optional mode?: EffectMode

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

Inherited from

ModedEffect.mode


strength

strength: number

Defined in: attributes/shape/effects/implementations/scatter.ts:11

Maximum random pixel displacement applied per-pixel. Larger values smear the node's own content further (After Effects' "Scatter Amount"). 0 = off.


type

type: "scatter"

Defined in: attributes/shape/effects/implementations/scatter.ts:6