# Sandbox.Input.UsingController

```csharp
static bool UsingController { get; set; }
```

Was the last button pressed a game controller button?

Declared in [Sandbox.Input](/api/Sandbox.Input).
Assembly: `Sandbox.Engine`.
