---
title: ClothSimulationComponent.SpeedLimit
framework: realitykit
role: symbol
role_heading: Structure
path: realitykit/clothsimulationcomponent/speedlimit-swift.struct
---

# ClothSimulationComponent.SpeedLimit

Whether the speed of cloth bodies should be limited to improve self-collision robustness.

## Declaration

```swift
struct SpeedLimit
```

## Overview

Overview When enabled, the simulation limits particle displacement per time step to reduce the likelihood of particles tunneling through each other during self-collisions.

## Topics

### Accessing speed limits

- [unlimited](realitykit/clothsimulationcomponent/speedlimit-swift.struct/unlimited.md)

### Type Properties

- [automatic](realitykit/clothsimulationcomponent/speedlimit-swift.struct/automatic.md)

## Relationships

### Conforms To

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

## See Also

### Controlling simulation timing

- [timeStep](realitykit/clothsimulationcomponent/timestep.md)
- [maximumStepsPerUpdate](realitykit/clothsimulationcomponent/maximumstepsperupdate-swift.property.md)
- [ClothSimulationComponent.MaximumStepsPerUpdate](realitykit/clothsimulationcomponent/maximumstepsperupdate-swift.struct.md)
- [speedLimit](realitykit/clothsimulationcomponent/speedlimit-swift.property.md)
- [meshCollidersUpdateInterval](realitykit/clothsimulationcomponent/meshcollidersupdateinterval.md)
