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

# append(contentsOf:)

Adds the specified list of entity as children to this entity.

## Declaration

```swift
@MainActor @preconcurrency func append<S>(contentsOf sequence: S) where S : Sequence, S.Element : Entity
```

## Parameters

- `sequence`: The child entities to add to the collection.
