---
title: anchor
framework: arkit
role: symbol
role_heading: Instance Property
path: arkit/arraycastresult/anchor
---

# anchor

The anchor for the plane that the ray intersected.

## Declaration

```swift
var anchor: ARAnchor? { get }
```

## Discussion

Discussion If you chose an existing plane target, ARKit provides its anchor. If you choose an estimated plane target, ARKit provides an anchor only if the ray intersects an existing plane.

## See Also

### Identifying Results

- [worldTransform](arkit/arraycastresult/worldtransform.md)
- [target](arkit/arraycastresult/target.md)
- [ARRaycastQuery.Target](arkit/arraycastquery/target-swift.enum.md)
- [targetAlignment](arkit/arraycastresult/targetalignment.md)
- [ARRaycastQuery.TargetAlignment](arkit/arraycastquery/targetalignment-swift.enum.md)
