Skip to content

API Interface ActionSetOptions

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

Interface: ActionSetOptions

Defined in: src/engine/input/actions.ts:163

Properties

encoding?

readonly encoding?: Partial<Record<string, {
  quantize?: number;
}>>;

Defined in: src/engine/input/actions.ts:170

Networked sets: per-action wire encoding, e.g. { move: { quantize: 1 / 127 } } (applied at the source).


key?

readonly key?: string;

Defined in: src/engine/input/actions.ts:174

The property name in system rows; default the id's last part, camel-cased (game.PlayerActions → playerActions).


networked?

readonly networked?: boolean;

Defined in: src/engine/input/actions.ts:168

Networked (ADR 0337): the set is also an input stream (defineInput) with the same id and fields, so a server reads each client's actions in the same component on its pawn.


redundancy?

readonly redundancy?: number;

Defined in: src/engine/input/actions.ts:172

Networked sets: past ticks resent with each packet (defineInput's redundancy).

Clone this wiki locally