---
title: anchors
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/scene/anchors
---

# anchors

The collection of anchors contained in the scene.

## Declaration

```swift
@MainActor @preconcurrency var anchors: Scene.AnchorCollection { get set }
```

## See Also

### Adding and removing anchors

- [addAnchor(_:)](realitykit/scene/addanchor(_:).md)
- [removeAnchor(_:)](realitykit/scene/removeanchor(_:).md)
