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

# append(_:)

Adds the specified entity to the end of this collection.

## Declaration

```swift
mutating func append(_ entity: Entity)
```

## Parameters

- `entity`: The entity to add to the collection.

## Discussion

Discussion note: This operation can invalidate the index order of any extant entities.
