---
title: "localTransform(for:)"
framework: arkit
role: symbol
role_heading: Instance Method
path: "arkit/arskeleton3d/localtransform(for:)"
---

# localTransform(for:)

Returns the local transform for a joint with a given name.

## Declaration

```swift
@nonobjc func localTransform(for jointName: ARSkeleton.JointName) -> simd_float4x4?
```

## Discussion

Discussion Local space refers to the joints position relative to its parent joint. If an invalid joint name is passed the returned matrix will be filled with NaN values.

## See Also

### Getting a Joint’s Pose

- [jointLocalTransforms](arkit/arskeleton3d/jointlocaltransforms-66gbm.md)
- [jointModelTransforms](arkit/arskeleton3d/jointmodeltransforms-i6yu.md)
- [modelTransform(for:)](arkit/arskeleton3d/modeltransform(for:).md)
