<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/SkeletonResource/Joint/init(_:restPoseTransform:children:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation16SkeletonResourceC5JointV_17restPoseTransform8childrenAESS_AA0H0VSayAEGyKXEtKcfc"
  },
  "title" : "init(_:restPoseTransform:children:)"
}
-->

# init(_:restPoseTransform:children:)

Creates a joint with the provided name, rest pose transform, and optional children.

```
init(_ name: String, restPoseTransform: Transform = .identity, @SkeletonResource.JointBuilder children: () throws -> [SkeletonResource.Joint] = { [] }) throws
```

## Parameters

`name`

The unique name of the new joint

`restPoseTransform`

The local space transformation relative to the parent joint

`children`

A result builder closure that returns child joints

## Discussion> Throws: If any children share the same name.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)