---
title: TCButton
framework: Touch Controller
role: symbol
role_heading: Class
platforms: [iOS 26.0+, iPadOS 26.0+, Mac Catalyst 26.0+]
path: touchcontroller/tcbutton
---

# TCButton

A control that represents a single on-screen button.

## Declaration

```swift
class TCButton
```

## Overview

Overview This is mirrored by a GCControllerButtonInput on the associated GCController.

## Topics

### Inspecting a button

- [contents](touchcontroller/tcbutton/contents.md)
- [highlightDuration](touchcontroller/tcbutton/highlightduration.md)

### Getting the collider shape

- [colliderShape](touchcontroller/tcbutton/collidershape.md)
- [TCColliderShape](touchcontroller/tccollidershape.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [TCControl](touchcontroller/tccontrol.md)
- [TCControlLayout](touchcontroller/tccontrollayout.md)

## See Also

### Controls

- [TCControl](touchcontroller/tccontrol.md)
- [TCDirectionPad](touchcontroller/tcdirectionpad.md)
- [TCSwitch](touchcontroller/tcswitch.md)
- [TCThumbstick](touchcontroller/tcthumbstick.md)
- [TCThrottle](touchcontroller/tcthrottle.md)
- [TCTouchpad](touchcontroller/tctouchpad.md)
