---
title: removeAll()
framework: realitykit
role: symbol
role_heading: Instance Method
path: realitykit/entity/childcollection/removeall()
---

# removeAll()

Removes all children from this entity.

## Declaration

```swift
@MainActor @preconcurrency func removeAll()
```
