---
title: "blend(sources:name:isAdditive:)"
framework: realitykit
role: symbol
role_heading: Function
path: "realitykit/blend(sources:name:isadditive:)"
---

# blend(sources:name:isAdditive:)

Combines the animations that result from the individual blend-tree nodes of the given array to a single blend-tree node.

## Declaration

```swift
func blend(sources: [any BlendTreeNode], name: String = "", isAdditive: Bool = false) -> any BlendTreeNode
```

## Parameters

- `sources`: The blend-tree nodes to combine.
- `name`: A unique name for the combined node.
- `isAdditive`: A Boolean value that indicates whether the animation builds on the current state of the target entity, or resets the state before running.

## Return Value

Return Value A blend-tree node that combines the given animations.

## See Also

### Blending animations

- [blend(_:_:name:isAdditive:)](realitykit/blend(_:_:name:isadditive:).md)
