---
title: parentIndices
framework: arkit
role: symbol
role_heading: Instance Property
path: arkit/arskeletondefinition/parentindices-82iw2
---

# parentIndices

The parent index for each joint.

## Declaration

```occ
@property (nonatomic, readonly) NSArray<NSNumber *> * parentIndices;
```

## Discussion

Discussion This property may be used to identify the hierarchical dependency between joints. If a line is drawn for every joint and its parent joint, the result is a visualization of the underlying skeleton. The joint with no parent is denoted as the root joint. The root joint’s parent index is -1.

## See Also

### Getting Joint Information

- [jointNames](arkit/arskeletondefinition/jointnames.md)
- [jointCount](arkit/arskeletondefinition/jointcount.md)
- [indexForJointName:](arkit/arskeletondefinition/indexforjointname:.md)
