---
title: size
framework: Touch Controller
role: symbol
role_heading: Instance Property
platforms: [iOS 26.0+, iPadOS 26.0+, Mac Catalyst 26.0+]
path: touchcontroller/tcbuttondescriptor/size
---

# size

The size (width, height) of the button in points.

## Declaration

```swift
var size: CGSize { get set }
```

## See Also

### Inspecting the descriptor

- [contents](touchcontroller/tcbuttondescriptor/contents.md)
- [highlightDuration](touchcontroller/tcbuttondescriptor/highlightduration.md)
- [zIndex](touchcontroller/tcbuttondescriptor/zindex.md)
- [label](touchcontroller/tcbuttondescriptor/label.md)
- [offset](touchcontroller/tcbuttondescriptor/offset.md)
