---
title: anchoring
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/hasanchoring/anchoring
---

# anchoring

The component that describes how the virtual content is anchored to the real world.

## Declaration

```swift
@MainActor @preconcurrency var anchoring: AnchoringComponent { get set }
```
