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

# removeAll()

Remove all the parts.

## Declaration

```swift
mutating func removeAll()
```

## See Also

### Using the collection

- [insert(_:)](realitykit/meshpartcollection/insert(_:).md)
- [remove(id:)](realitykit/meshpartcollection/remove(id:).md)
- [update(_:)](realitykit/meshpartcollection/update(_:).md)
