<!--
{
  "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/BlendTreeAnimation/root",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation18BlendTreeAnimationV4rootAA0cD4Node_pvp"
  },
  "title" : "root"
}
-->

# root

The first node in a tree of animations.

```
var root: any BlendTreeNode { get set }
```

## Discussion

This property defines the node that represents the root of a blend tree.
If you assign this property a [`BlendTreeBlendNode`](/documentation/RealityKit/BlendTreeBlendNode) instance, the root
branches for every member you add to the instance’s
[`sources`](/documentation/RealityKit/BlendTreeBlendNode/sources) property.

If you define a [`BlendTreeSourceNode`](/documentation/RealityKit/BlendTreeSourceNode) instance to this property, the
tree contains a single animation, which blends with no other animations.

---

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)