---
title: "indexForJointName:"
framework: arkit
role: symbol
role_heading: Instance Method
path: "arkit/arskeletondefinition/indexforjointname:"
---

# indexForJointName:

Returns the index for a given joint identifier.

## Declaration

```occ
- (NSUInteger) indexForJointName:(ARSkeletonJointName) jointName;
```

## Discussion

Discussion This function returns NSNotFound if an invalid joint name is passed in.

## See Also

### Getting Joint Information

- [jointNames](arkit/arskeletondefinition/jointnames.md)
- [jointCount](arkit/arskeletondefinition/jointcount.md)
- [parentIndices](arkit/arskeletondefinition/parentindices-82iw2.md)
