---
title: "disableCollisions(towards:)"
framework: realitykit
role: symbol
role_heading: Instance Method
path: "realitykit/clothcollidercomponent/disablecollisions(towards:)"
---

# disableCollisions(towards:)

Disables one-way collisions towards the selected groups.

## Declaration

```swift
mutating func disableCollisions(towards groups: ClothCollisionGroupSet)
```

## Parameters

- `groups`: The collision groups to remove from the collider’s mask.

## Discussion

Discussion This removes the selected groups from the collider’s mask, so that body particles in those groups will no longer be pushed away by this collider.

## See Also

### Managing collision response

- [isCollisionResponseEnabled](realitykit/clothcollidercomponent/iscollisionresponseenabled.md)
- [enableCollisions(towards:)](realitykit/clothcollidercomponent/enablecollisions(towards:).md)
