---
title: maxIterations
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/ikrig/maxiterations
---

# maxIterations

The maximum number of iterations the solver is allowed to do per frame.

## Declaration

```swift
var maxIterations: Int
```

## Discussion

Discussion If the pose satisfies all of the demands using less iterations, the solve stops early. note: Values of 0 or less, result in the constant output of the last solved pose.
