---
title: AnchorStateEvents.DidAnchor
framework: realitykit
role: symbol
role_heading: Structure
path: realitykit/anchorstateevents/didanchor
---

# AnchorStateEvents.DidAnchor

Event that triggers on an entity after the entity is anchored with certain reasons.

## Declaration

```swift
struct DidAnchor
```

## Topics

### Instance Properties

- [entity](realitykit/anchorstateevents/didanchor/entity.md)
- [reason](realitykit/anchorstateevents/didanchor/reason-swift.property.md)

### Enumerations

- [AnchorStateEvents.DidAnchor.Reason](realitykit/anchorstateevents/didanchor/reason-swift.enum.md)

## Relationships

### Conforms To

- [Event](realitykit/event.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
