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

# blend(_:_:name:isAdditive:)

Combines the animations that result from two blend-tree nodes into a single
blend-tree node.

```
func blend(_ x: any BlendTreeNode, _ y: any BlendTreeNode, name: String = "", isAdditive: Bool = false) -> any BlendTreeNode
```

## Parameters

`x`

A blend-tree node whose animation combines with the second animation
argument.

`y`

A blend-tree node whose animation combines with the first animation
argument.

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