Skip to content

GearValue

GearValue = number | boolean | string | Color | Vec2 | Vec3

Defined in: ui/controller/ui-gear.ts:29

A per-page value. Numbers, colours, and vectors interpolate when the binding has a tween; strings, booleans (and anything else) always snap — e.g. a Text.content gear that swaps the label per page. Colours/vectors are the whole-field shape (e.g. UIVisual.color → a Color), matching how the inspector and serialization store them.