Skip to content

API Function defineActionsFromData

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

Function: defineActionsFromData()

function defineActionsFromData(spec): ActionSetDef;

Defined in: src/engine/input/actionAssets.ts:113

Register the action set a *.actions.json file describes (ADR 0433), as defineActions does a code one. Throws with every problem actionSetProblems finds. Defining an id again replaces the set.

Parameters

spec

ActionSetFile

Returns

ActionSetDef

Clone this wiki locally