isPressed
A Boolean value that indicates whether the user is pressing the button.
Declaration
var isPressed: Bool { get }Discussion
If this property is true, the user is putting pressure on the button; otherwise, the user isn’t.
For the DualSense, DualShock 4, and Siri Remote controllers, the framework simulates whether the user presses the button and the level of pressure for its touch surfaces.