# Sandbox.VR.DigitalInput

Represents a VR digital input action (e.g. X button)

- Kind: struct
- Namespace: `Sandbox.VR`
- Assembly: `Sandbox.Engine`
- Modifiers: sealed

## Properties

- [`Active`](/api/Sandbox.VR.DigitalInput/Active): Whether or not this action is currently accessible (if false, then [Sandbox.VR.DigitalInput.IsPressed](/api/Sandbox.VR.DigitalInput/IsPressed) will always be false and will never change).
- [`Delta`](/api/Sandbox.VR.DigitalInput/Delta): How much [Sandbox.VR.DigitalInput.IsPressed](/api/Sandbox.VR.DigitalInput/IsPressed) has changed since the last update.
- [`IsPressed`](/api/Sandbox.VR.DigitalInput/IsPressed): The current value of this input - true if pressed, false if not pressed.
- [`WasPressed`](/api/Sandbox.VR.DigitalInput/WasPressed): The previous value of this input - true if it was pressed, false if it was not pressed.
