— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
This is an old revision of the document!
Enables any input bindings assigned to an action ID that were previously disabled via Disable Action (e.g. enabling the “jump” action will allow that action to be triggered by any input bindings assigned to it).
enable_action(action_id, script_name)
Argument | Description | Type | Required |
---|---|---|---|
action_id | See Input Actions for a list of available action IDs. | String | Yes |
script_name | Name of the script assigned to the input binding (only applicable/required when the action ID is “Run Script”). | String | No |
enable_action("jump");
Results: Any input bindings assigned to the “jump” action are enabled (allowing the player to jump, if jumping is enabled in the gameplay settings).
Use the Enable Action function to…