MotionScript

@motion-script/core


@motion-script/core / EffectOptions

Type Alias: EffectOptions

EffectOptions = ModedEffect

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

Cross-cutting options accepted by every effect builder — the builder-side view of ModedEffect. Each builder's own options type intersects this, so mode is spelled the same way everywhere:

Effects.blur({ radius: 8, mode: 'backdrop' })

This is the extension point for future chain-wide options (e.g. a wet/dry mix): add the field here and to EFFECT_OPTION_KEYS and every builder picks it up.