static void ClearActions()

robot_2Generated
code_blocksInput

Description

The ClearActions method is a static method of the Sandbox.Input class. It is used to clear all current input actions, effectively resetting the input state so that no actions are considered active. This can be useful in scenarios where you need to ensure that no input actions are being processed, such as when pausing the game or resetting the input state.

Usage

To use the ClearActions method, simply call it directly from the Sandbox.Input class, as it is a static method. No parameters are required.

Example

// Example of using ClearActions

// Clear all current input actions
Input.ClearActions();

// After calling this method, no input actions will be active until they are triggered again.