---
title: anchorPoint
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiattachmentbehavior/anchorpoint
---

# anchorPoint

The anchor point for the attachment behavior, if any.

## Declaration

```swift
var anchorPoint: CGPoint { get set }
```

## Discussion

Discussion The anchor point is relative to the coordinate system for the behavior’s associated dynamic animator. For attachment types without an anchor point, the value in this property is CGPointZero. For more information about the coordinate system of the reference view, see UIDynamicAnimator.

## See Also

### Configuring an attachment behavior

- [attachedBehaviorType](uikit/uiattachmentbehavior/attachedbehaviortype.md)
- [damping](uikit/uiattachmentbehavior/damping.md)
- [frequency](uikit/uiattachmentbehavior/frequency.md)
- [length](uikit/uiattachmentbehavior/length.md)
- [frictionTorque](uikit/uiattachmentbehavior/frictiontorque.md)
- [attachmentRange](uikit/uiattachmentbehavior/attachmentrange.md)
