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

# append(contentsOf:)

Adds anchors from an array to the end of this collection.

## Declaration

```swift
@MainActor @preconcurrency func append(contentsOf array: [any HasAnchoring])
```

## Parameters

- `array`: The array of anchor entities to add.
