---
title: ClothGrabComponent.GrabMode
framework: realitykit
role: symbol
role_heading: Structure
path: realitykit/clothgrabcomponent/grabmode
---

# ClothGrabComponent.GrabMode

Defines whether a grab component will select particles using a ray or a volume.

## Declaration

```swift
struct GrabMode
```

## Topics

### Creating a grab mode

- [ray](realitykit/clothgrabcomponent/grabmode/ray.md)
- [volume(shape:)](realitykit/clothgrabcomponent/grabmode/volume(shape:).md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Creating a grab component

- [init(mode:)](realitykit/clothgrabcomponent/init(mode:).md)
