Skip to content

anim-format (runtime format) / AnimInput

Interface: AnimInput ​

An Input: a free value code sets (clip.inputs.<n>), a bind of the enclosing timeline gives, or an instance's iv holds (by name).

Properties ​

PropertyTypeDescription
d| string | number | boolean | { x: number; y: number; }the default: number / boolean / text / {x, y} / "rrggbbaa" / the option's name
idstring-
max?number-
min?number-
nstringits name in code and in SymbolItem.iv
o?string[]option: the names to pick from
t"number" | "color" | "text" | "point" | "switch" | "trigger" | "option""trigger" (gap plan #1) = a switch that is on for one beat after code fires it (clip.inputs.fire(n)), then off again (states.ts)

HereSplash — 2D animation for the web