<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameController",
  "identifier" : "/documentation/GameController/GCTouchedStateInput",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Game Controller"
    ],
    "preciseIdentifier" : "c:objc(pl)GCTouchedStateInput"
  },
  "title" : "GCTouchedStateInput"
}
-->

# GCTouchedStateInput

The common properties for an element that has touch state input.

```
protocol GCTouchedStateInput : NSObjectProtocol
```

## Topics

### Getting change information

[`isTouched`](/documentation/GameController/GCTouchedStateInput/isTouched)

A Boolean value that indicates whether the user touches the button.

[`lastTouchedStateTimestamp`](/documentation/GameController/GCTouchedStateInput/lastTouchedStateTimestamp)

The time of the most recent touch state change.

[`lastTouchedStateLatency`](/documentation/GameController/GCTouchedStateInput/lastTouchedStateLatency)

The time in seconds between the last touch state change and the current time.

[`touchedDidChangeHandler`](/documentation/GameController/GCTouchedStateInput/touchedDidChangeHandler)

A block that the element calls when its touch value changes.

### Getting user actions

[`sources`](/documentation/GameController/GCTouchedStateInput/sources)

One or more physical actions the user performs to manipulate the input.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)