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

# anchorIdentifier

The identifier of the AR anchor with which the anchor entity is associated, or nil if it isn’t currently anchored.

## Declaration

```swift
@MainActor @preconcurrency var anchorIdentifier: UUID? { get }
```
