Skip to content

FsmActionRef

FsmActionRef = string | { arg?: string; name: string; params?: Record<string, AiParamValue>; }

Defined in: ai/fsm/types.ts:46

A hook/leaf action reference: a bare registry name, or a name plus its input. The input is either the canonical string (spriteAnim.play with a clip ref) or the action’s declared parameters by name — the two are projections of each other, so a ref written either way runs the same (see registry.ts).