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

# remove(_:)

Removes an entity from this content, if present.

## Declaration

```swift
func remove(_ entity: Entity)
```

## See Also

### Managing view content

- [add(_:)](realitykit/realityviewcontentprotocol/add(_:).md)
- [Entities](realitykit/realityviewcontentprotocol/entities-swift.associatedtype.md)
- [entities](realitykit/realityviewcontentprotocol/entities-swift.property.md)
