User Tools

Site Tools


enable_action

This is an old revision of the document!


Enable Action


Enables any input bindings assigned to the specified action ID that were previously disabled via the Disable Action function (e.g. enabling the “jump” action will allow any controls that are assigned to that action to work).

Signature:

enable_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:

 

Results:

Use the Enable Action function to…


Editor Node:

enable_action.1739923330.txt.gz · Last modified: 2025/02/18 16:02 by justin