---
title: positionIterations
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/physicssimulationcomponent/solveriterations-swift.struct/positioniterations
---

# positionIterations

The number of position iterations the solver performs.

## Declaration

```swift
var positionIterations: Int
```

## Discussion

Discussion Use a value in the inclusive range [1, 255]. The default value is 6.
