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

# remove(at:)

Removes the specified child from this entity.

## Declaration

```swift
@MainActor @preconcurrency func remove(at index: Int)
```

## Parameters

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