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

# TCControlLayout

A protocol defining the controlLayout properties for a control.

```
protocol TCControlLayout : NSObjectProtocol
```

## Topics

### Inspecting the control layout

[`var anchor: TCControlLayoutAnchor`](/documentation/TouchController/TCControlLayout/anchor)

The anchor point of the control.

[`var anchorCoordinateSystem: TCControlLayoutAnchorCoordinateSystem`](/documentation/TouchController/TCControlLayout/anchorCoordinateSystem)

The coordinate system for the control’s anchor point.

[`var offset: CGPoint`](/documentation/TouchController/TCControlLayout/offset)

The offset from the anchor point.

[`var position: CGPoint`](/documentation/TouchController/TCControlLayout/position)

The calculated position of the control.

[`var size: CGSize`](/documentation/TouchController/TCControlLayout/size)

The size of the control in points.

[`var zIndex: Int`](/documentation/TouchController/TCControlLayout/zIndex)

The z-index of the controlLayout, used for z-ordering.

## Relationships

### Conforming Types

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

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

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

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

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

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

### Inherited By

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

### Inherits From

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

---

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)