---
title: "remove(_:)"
framework: realitykit
role: symbol
role_heading: Instance Method
path: "realitykit/entity/childcollection/remove(_:)"
---

# remove(_:)

Removes the specified child from this entity.

## Declaration

```swift
@MainActor @preconcurrency func remove(_ child: Entity)
```

## Parameters

- `child`: The child entity to remove from the collection.
