---
title: anchors
framework: arkit
role: symbol
role_heading: Instance Property
path: arkit/arframe/anchors
---

# anchors

The list of anchors representing positions tracked or objects detected in the scene.

## Declaration

```swift
var anchors: [ARAnchor] { get }
```

## Discussion

Discussion You can manually add or remove anchors to track locations in the scene using the ARSession class. Depending on session configuration, ARKit may also add anchors, such as the origin of the world coordinate system or automatically detected planes.

## See Also

### Tracking and interacting with the real world

- [raycastQuery(from:allowing:alignment:)](arkit/arframe/raycastquery(from:allowing:alignment:).md)
- [hitTest(_:types:)](arkit/arframe/hittest(_:types:).md)
