<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameController",
  "identifier" : "/documentation/GameController/GCControllerTouchpad/TouchState-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Game Controller",
      "GameController"
    ],
    "preciseIdentifier" : "c:@E@GCTouchState"
  },
  "title" : "GCControllerTouchpad.TouchState"
}
-->

# GCControllerTouchpad.TouchState

The possible states of the user’s touch.

```
enum TouchState
```

## Topics

### States

[`case up`](/documentation/GameController/GCControllerTouchpad/TouchState-swift.enum/up)

The user stops or isn’t touching the surface.

[`case down`](/documentation/GameController/GCControllerTouchpad/TouchState-swift.enum/down)

The user starts touching the surface.

[`case moving`](/documentation/GameController/GCControllerTouchpad/TouchState-swift.enum/moving)

The user continues touching the surface.

### Initializers

[`init?(rawValue: Int)`](/documentation/GameController/GCControllerTouchpad/TouchState-swift.enum/init(rawValue:))

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

---

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)