<!--
{
  "documentType" : "article",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/Entity/ChildCollection/EntityCollection-Implementations",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "EntityCollection Implementations"
}
-->

# EntityCollection Implementations

## Topics

### Instance Methods

[`func append<S>(contentsOf: S)`](/documentation/RealityKit/Entity/ChildCollection/append(contentsOf:))

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

[`func remove(Entity)`](/documentation/RealityKit/Entity/ChildCollection/remove(_:))

Removes the specified child from this entity.

[`func remove(at: Int)`](/documentation/RealityKit/Entity/ChildCollection/remove(at:))

Removes the specified child from this entity.

[`func removeAll()`](/documentation/RealityKit/Entity/ChildCollection/removeAll())

Removes all children from this entity.

[`func replaceAll<S>(S)`](/documentation/RealityKit/Entity/ChildCollection/replaceAll(_:))

Removes all children from this entity and adds the specified list of entities as the new
children.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)