Skip to content

transitions ​

Types ​

TransitionsClass type ​

luau
type TransitionsClass = typeof(Transitions)

Functions ​

can ​

luau
transitions.can(from: types.State, to: types.State): boolean

A state can never transition to itself, so the rules table is checked before the exact pair. Anything can reach Dead or Frozen.

rules ​

luau
transitions.rules(): { types.Transition }