---
title: bodyComponent
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/clothcolliderevents/newbodycollisions/collision/bodycomponent
---

# bodyComponent

The ClothBodyComponent of the colliding body, if still present on the entity.

## Declaration

```swift
var bodyComponent: ClothBodyComponent? { get }
```

## See Also

### Identifying the collider

- [bodyEntity](realitykit/clothcolliderevents/newbodycollisions/collision/bodyentity.md)
