---
title: collisions
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/clothcolliderevents/newbodycollisions/collisions
---

# collisions

The collisions with cloth bodies that took place.

## Declaration

```swift
var collisions: Span<ClothColliderEvents.NewBodyCollisions.Collision> { get }
```

## Discussion

Discussion The lifetime of this span is tied to the owning event, and thus cannot escape it. This data is only available during the subscription callback in which the owning event is provided. If you store the event and attempt to access this data after the subscription callback, then you will get an empty span instead.

## See Also

### Accessing collision data

- [withCollisions(_:)](realitykit/clothcolliderevents/newbodycollisions/withcollisions(_:).md)
- [ClothColliderEvents.NewBodyCollisions.Collision](realitykit/clothcolliderevents/newbodycollisions/collision.md)
