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.