— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
This is an old revision of the document!
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).
disable_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 |
disable_action("jump");
Results: Any input bindings assigned to the “jump” action are disabled (preventing the player from jumping).
Use the Disable Action function to…