Skip to content

API Function actionSetFromData

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

Function: actionSetFromData()

function actionSetFromData(path, value): ActionSetDef;

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

The set the file at path holds, given its parsed value: an *.actions.json import in a script (the code linker, ADR 0329) and the boot both come here, so whichever runs first defines it and the other gets the same definition. A file whose text changed defines its set again. Throws with the file's problems.

Parameters

path

string

value

unknown

Returns

ActionSetDef

Clone this wiki locally