---
title: maximumStepsPerUpdate
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/clothsimulationcomponent/maximumstepsperupdate-swift.property
---

# maximumStepsPerUpdate

The maximum number of time steps that the simulation can advance each update.

## Declaration

```swift
var maximumStepsPerUpdate: ClothSimulationComponent.MaximumStepsPerUpdate
```

## Discussion

Discussion A higher number of time steps per update is more expensive in terms of power and performance. However, a lower number restricts the simulation’s ability to keep up with the targetClock. As an example, if timeStep is 1.4 ms and maximumStepsPerUpdate is 13, then the simulation can perfectly follow targetClock up to delta times of 1.4 ms * 13 = 18.2 ms. The automatic value differs based on the target platform. Must be a positive number.

## See Also

### Controlling simulation timing

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