---
title: influenceDepthMaxJointCount
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/ikrig/constraint/ikorientationdemand/influencedepthmaxjointcount
---

# influenceDepthMaxJointCount

The number of joints to be influenced by this demand.

## Declaration

```swift
var influenceDepthMaxJointCount: Int
```

## Discussion

Discussion The count starts from the constrained joint and continues up the chain to the skeleton’s root. note: A depth of 0 disables the constraint, while negative values are treated as Int.max
