MotionScript

@motion-script/core


@motion-script/core / EffectMode

Type Alias: EffectMode

EffectMode = "foreground" | "backdrop"

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

Which layer an effect runs on: the node's own content ("foreground", the default) or the backdrop — the content already painted beneath the node. A backdrop effect is applied to whatever lies underneath the node and clipped to the node's silhouette, so the node's own edges stay sharp (Figma-style).