Skip to main content

Felix

A small, fast, fully typed state machine for Roblox and Luau

Simple

States, transitions and triggers. Conditions guard transitions, Effects run during them, and every callback gets the machine and the trigger's event data.

Predictable

Every transition runs Exit, then Effects, then Enter. Triggers sent from callbacks are queued until the current transition finishes.

Built for combat

Per-state cleanup scopes, timed states, any-state interrupts with priority and resistance, input buffering, hierarchical states, tags, and snapshots for networking.

Fully typed

Written in strict Luau, with exported types and an optional typed Context.