<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/BindPath",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation8BindPathV"
  },
  "title" : "BindPath"
}
-->

# BindPath

The components of a target’s path that refer to the animation properties of
a nested scene or entity.

```
struct BindPath
```

## Overview

The following code demonstrates bind target paths with varying numbers of
elements. For a multicomponent target, call the [`BindPath.Part`](/documentation/RealityKit/BindPath/Part)
enumeration for each component. The individual elements form the path’s
resulting [`parts`](/documentation/RealityKit/BindPath/parts) array.

```swift
// Single-component paths:
let target0: BindTarget = .transform
let target1: BindTarget = .jointTransforms
let target2: BindTarget = .parameter("myInt")

// Relative entity path:
let target3: BindTarget = .entity("entityA").entity("entityB").parameter("myInt")

// Root entity path:
let target4: BindTarget = .anchorEntity("entityA").entity("entityB").transform

// Scene path:
let target5: BindTarget = .scene("sceneA").anchorEntity("entityA").entity("entityB").jointTransforms
```

## Topics

### Composing a property identifier

[`var parts: [BindPath.Part]`](/documentation/RealityKit/BindPath/parts)

An array of the individual components of a complete bind path.

[`enum Part`](/documentation/RealityKit/BindPath/Part)

An individual piece of a larger path that refers to the target of an
animation.



---

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)