---
title: root
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/blendtreeanimation/root
---

# root

The first node in a tree of animations.

## Declaration

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

## Discussion

Discussion This property defines the node that represents the root of a blend tree. If you assign this property a BlendTreeBlendNode instance, the root branches for every member you add to the instance’s sources property. If you define a BlendTreeSourceNode instance to this property, the tree contains a single animation, which blends with no other animations.

## See Also

### Configuring the animation

- [name](realitykit/blendtreeanimation/name.md)
- [bindTarget](realitykit/blendtreeanimation/bindtarget.md)
- [blendLayer](realitykit/blendtreeanimation/blendlayer.md)
- [isAdditive](realitykit/blendtreeanimation/isadditive.md)
