# Sandbox.VR.DigitalInput.WasPressed

```csharp
bool WasPressed { get; set; }
```

The previous value of this input - true if it was pressed, false if it was not pressed.

Declared in [Sandbox.VR.DigitalInput](/api/Sandbox.VR.DigitalInput).
Assembly: `Sandbox.Engine`.
