---
title: "append(_:)"
framework: realitykit
role: symbol
role_heading: Instance Method
path: "realitykit/scene/anchorcollection/append(_:)"
---

# append(_:)

Adds a new anchor at the end of the collection.

## Declaration

```swift
@MainActor @preconcurrency func append(_ entity: any HasAnchoring)
```

## Parameters

- `entity`: The element to append to the collection.

## See Also

### Adding anchors

- [append(contentsOf:)](realitykit/scene/anchorcollection/append(contentsof:)-3bjib.md)
- [append(contentsOf:)](realitykit/scene/anchorcollection/append(contentsof:)-4sf55.md)
