Skip to content

API Type TweenValue

github-actions[bot] edited this page Nov 24, 2026 · 1 revision

Type Alias: TweenValue

type TweenValue = 
  | number
  | boolean
  | Vector2
  | Vector3
  | Quaternion
  | Color
  | readonly number[];

Defined in: src/plugins/animation/runtime/types.ts:244

A field value a tween can drive: numbers, booleans and the engine's vector, quaternion and colour types (or their numbers).

Clone this wiki locally