# IsAnyKeyPressed

> Whether any key or button (keyboard, mouse, or controller button) is currently pressed. Uses AdaptivePerformanceIdleTimeTracker.IsAnyKeyPressedProvider.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.AdaptivePerformance](/engine/6000.7/script-reference/unityengine/adaptiveperformance.md)
* **Assembly:** UnityEngine.AdaptivePerformanceModule

```csharp
public static bool IsAnyKeyPressed { get; }
```
