---
title: "addThumbstick(descriptor:)"
framework: Touch Controller
role: symbol
role_heading: Instance Method
platforms: [iOS 26.0+, iPadOS 26.0+, Mac Catalyst 26.0+]
path: "touchcontroller/tctouchcontroller/addthumbstick(descriptor:)"
---

# addThumbstick(descriptor:)

Creates a new thumbstick control with the provided descriptor, and adds it to the touch controller.

## Declaration

```swift
func addThumbstick(descriptor: TCThumbstickDescriptor) -> TCThumbstick
```

## Parameters

- `descriptor`: The TCThumbstickDescriptor containing the configuration for the thumbstick.

## Return Value

Return Value A new TCThumbstick instance.

## See Also

### Adding a thumbstick control

- [TCThumbstickDescriptor](touchcontroller/tcthumbstickdescriptor.md)
