User Tools

Site Tools


disable_action

This is an old revision of the document!


Disable Action


Disables any input bindings assigned to an action ID (e.g. disabling the “jump” action will prevent that action from being triggered by any input bindings assigned to it).

Signature:

disable_action(action_id, script_name)
ArgumentDescriptionTypeRequired
action_idSee Input Actions for a list of available action IDs.StringYes
script_nameName of the script assigned to the input binding (only applicable/required when the action ID is “Run Script”).StringNo

Example:

disable_action("jump");

Results: Any input bindings assigned to the “jump” action are disable, preventing the player from jumping.

Use the Disable Action function to…


Editor Node:

disable_action.1740178727.txt.gz · Last modified: 2025/02/21 14:58 by justin