MotionScript

@motion-script/core


@motion-script/core / staticValue

Function: staticValue()

staticValue(p, fallback?): number

Defined in: attributes/audio/filters/curve.ts:231

The constant value of a param for static contexts (the number itself, or a curve's t=0 value). Used wherever a single representative number is needed (e.g. timeline math, equality fast paths).

Parameters

p

Param

fallback?

number = 0

Returns

number