<!--
{
  "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/blend(sources:name:isAdditive:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation5blend7sources4name10isAdditiveAA13BlendTreeNode_pSayAaF_pG_SSSbtF"
  },
  "title" : "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.

```
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

A blend-tree node that combines the given 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)