---
title: "init(sources:name:weight:isAdditive:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/blendtreeblendnode/init(sources:name:weight:isadditive:)"
---

# init(sources:name:weight:isAdditive:)

Creates a tree node made up of multiple branches.

## Declaration

```swift
init(sources: [any BlendTreeNode], name: String = "", weight: BlendWeight = .value(1.0), isAdditive: Bool = false)
```

## Parameters

- `sources`: The nodes that branch from this node to form part of a blend tree.
- `name`: A textual name for the node.
- `weight`: A normalized percentage that designates how much this node’s animation influences the tree’s blended animation.
- `isAdditive`: A Boolean value that indicates whether the animation builds on the current state of the target entity or resets the state before running.
