---
title: timeStep
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/clothsimulationcomponent/timestep
---

# timeStep

The amount of time the simulation advances each time step, in seconds.

## Declaration

```swift
var timeStep: Float { get set }
```

## Discussion

Discussion A smaller number means more time steps are computed each frame, leading to higher simulation accuracy but also higher computation load. Must be positive.

## See Also

### Controlling simulation timing

- [maximumStepsPerUpdate](realitykit/clothsimulationcomponent/maximumstepsperupdate-swift.property.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)
