# ResetInputAxes()

> Resets all input. After ResetInputAxes all axes return to 0 and all buttons return to 0 for one frame.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.InputLegacyModule

```csharp
public static void ResetInputAxes()
```

### Remarks

**Note**: This API is part of the legacy Input Manager. The recommended best practice is that you don't use this API in new projects. For new projects, use the Input System package. To learn more about input, refer to [Input](/engine/6000.7/script-reference/unityengine/input.md).

This can be useful when respawning the player and you don't want any input from keys that might still be held down.
