<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TouchController",
  "identifier" : "/documentation/TouchController/TCThumbstick",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Touch Controller"
    ],
    "preciseIdentifier" : "c:objc(cs)TCThumbstick"
  },
  "title" : "TCThumbstick"
}
-->

# TCThumbstick

Represents a single on-screen thumbstick.

```
class TCThumbstick
```

## Overview

This is mirrored by a `GCControllerDirectionPad` on the associated `GCController` instance.

## Topics

### Inspecting a thumbstick

[`var backgroundContents: TCControlContents?`](/documentation/TouchController/TCThumbstick/backgroundContents)

The contents for the background of the thumbstick.

[`var hidesWhenNotPressed: Bool`](/documentation/TouchController/TCThumbstick/hidesWhenNotPressed)

A Boolean value that indicates whether to hide the thumbstick when it is not being pressed.

[`var highlightDuration: TimeInterval`](/documentation/TouchController/TCThumbstick/highlightDuration)

The time it takes for a highlight to fade away, in seconds.

[`var stickContents: TCControlContents?`](/documentation/TouchController/TCThumbstick/stickContents)

The contents for the thumbstick itself.

[`var stickSize: CGSize`](/documentation/TouchController/TCThumbstick/stickSize)

The size (width, height) of the thumbstick stick itself in points.

### Getting the collider shape

[`var colliderShape: TCColliderShape`](/documentation/TouchController/TCThumbstick/colliderShape)

The collider shape for the thumbstick.

[`enum TCColliderShape`](/documentation/TouchController/TCColliderShape)

Defines the shape of a control collider.

## Relationships

### Conforms To

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

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

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

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

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

[`TCControl`](/documentation/TouchController/TCControl)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`TCControlLayout`](/documentation/TouchController/TCControlLayout)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)