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

# anchor

The anchor point that the switch’s offset is relative to.

## Declaration

```swift
var anchor: TCControlLayoutAnchor { get set }
```

## See Also

### Accessing the anchor

- [TCControlLayoutAnchor](touchcontroller/tccontrollayoutanchor.md)
- [anchorCoordinateSystem](touchcontroller/tcswitchdescriptor/anchorcoordinatesystem.md)
- [TCControlLayoutAnchorCoordinateSystem](touchcontroller/tccontrollayoutanchorcoordinatesystem.md)
