---
title: shapes
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/collisioncomponent/shapes
---

# shapes

A collection of shape resources that collectively represent the outer dimensions of an entity for the purposes of collision detection.

## Declaration

```swift
var shapes: [ShapeResource]
```
