# \[Documentation\]How to use Blend Depth in Layered blend per bone node?

**URL:** <https://forums.unrealengine.com/t/documentation-how-to-use-blend-depth-in-layered-blend-per-bone-node/339150>\
**Category:** Character & Animation\
**Tags:** settings, unreal-engine, documentation, question\
**Created:** [November 20, 2015, 4:16pm UTC](https://forums.unrealengine.com/t/documentation-how-to-use-blend-depth-in-layered-blend-per-bone-node/339150 "2015-11-20T16:16:08Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![TVinforest](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tvinforest/32/462613_2.png) [@TVinforest](https://forums.unrealengine.com/u/TVinforest)\
**Post date:** [November 20, 2015, 4:16pm UTC](https://forums.unrealengine.com/t/documentation-how-to-use-blend-depth-in-layered-blend-per-bone-node/339150/1 "2015-11-20T16:16:08Z")

</div>

![67478-5827-layeredblendperbone_screengrab.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/0/6/f061789b6e417c6b21120c6b159a3b347ab1f395.jpeg)

Hello! In AnimGraph you can create Layered blend per bone node, within settings you can see “Blend Depth”.How to use this ‘Blend Depth’ properly? What if I type -3 or 2 or 0 value? In documentation about using Additive animation I see: " Under Bone Name enter spine\_01, then set Blend Depth to 1…" Why exactly 1? Thanks!

---

<div class="post-metadata">

**Author:** ![woppin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@woppin](https://forums.unrealengine.com/u/woppin)\
**Post date:** [February 3, 2016, 5:58am UTC](https://forums.unrealengine.com/t/documentation-how-to-use-blend-depth-in-layered-blend-per-bone-node/339150/2 "2016-02-03T05:58:24Z")

</div>

I believe the blend amount increases by 1.f/(float)BlendDepth for each bone up to a max of 1.f, so using a value of 2 will give you 1 → 0.5, or 3 will be 1 → 0.6 → 0.3 etc.

Look at line 1111 in Engine/Source/Runtime/Engine/Private/Animation/AnimationRuntime.cpp - this is the only place it seems to actually be used apart from its declaration in the struct.

---

<div class="post-metadata">

**Author:** ![kenmorechalfant](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kenmorechalfant](https://forums.unrealengine.com/u/kenmorechalfant)\
**Post date:** [September 26, 2016, 4:50am UTC](https://forums.unrealengine.com/t/documentation-how-to-use-blend-depth-in-layered-blend-per-bone-node/339150/3 "2016-09-26T04:50:04Z")

</div>

Yeah, so I don’t see this documented anywhere but TVinforest’s picture and your answer were helpful. I had thought the depth were how many bones after the chosen bone would be affected (was trying to affect spine-\>head without affecting arms).

Now I understand that the depth is for how the blend strength is distributed and you can use -1 to disable a bone and it’s children. Thanks.

---

<div class="post-metadata">

**Author:** ![tomofnz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tomofnz](https://forums.unrealengine.com/u/tomofnz)\
**Post date:** [June 10, 2017, 6:52am UTC](https://forums.unrealengine.com/t/documentation-how-to-use-blend-depth-in-layered-blend-per-bone-node/339150/4 "2017-06-10T06:52:55Z")

</div>

Those answers seem wrong.

Think of a finger – in most rigs it has a bone depth of 3 bones from the knuckles (or 4 if you start at the wrist)  
so if you put bone name “ringfinger”, with bone depth of 3, all the joints for that finger will be considered, assuming they are nested properly

Bone depth isn’t a control of weighting or distribution for the node’s various input poses. That’s what Blend Weights do. Depth is a numerical way to count down a rig’s joint nesting. For example, your palm bone may have several nested bones at depth1 (knuckles). It is included as an efficiency measure so you don’t have to create a larger array of per bone entries than you really need to.

Setting a bone depth of -1 might well disable a blend pose because you’re clamping what can be affected to nothing, but that’s a side effect.

If I’m wrong I’d like to know.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f778cf8f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f778cf8f](https://forums.unrealengine.com/u/anonymous_user_f778cf8f)\
**Post date:** [February 27, 2018, 12:57am UTC](https://forums.unrealengine.com/t/documentation-how-to-use-blend-depth-in-layered-blend-per-bone-node/339150/5 "2018-02-27T00:57:37Z")

</div>

Yeah this deserves an answer from Epic. This answerhub page is first result in a google search for “Layered Blend Per Bone”, and the docs for this node [Animation Blueprint Blend Nodes in Unreal Engine | Unreal Engine 5.1 Documentation](https://docs.unrealengine.com/latest/INT/Engine/Animation/NodeReference/Blend/) don’t even mention the blend layer setup parameters at all?

Reading the accepted answer and looking at the source, I have to agree with their interpretation. However the name of the field Blend Depth would make much more sense in your interpretation as a way of denoting how far down the hierarchy the blend applies. Confusing. A tooltip would certainly help.

---

<div class="post-metadata">

**Author:** ![Imagine-Games](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Imagine-Games](https://forums.unrealengine.com/u/Imagine-Games)\
**Post date:** [June 26, 2018, 12:44am UTC](https://forums.unrealengine.com/t/documentation-how-to-use-blend-depth-in-layered-blend-per-bone-node/339150/6 "2018-06-26T00:44:10Z")

</div>

yes, it would be nice for that page to get an update , and an official answer on this post from Epic please…

---

<div class="post-metadata">

**Author:** ![rebusb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rebusb](https://forums.unrealengine.com/u/rebusb)\
**Post date:** [September 6, 2018, 3:52pm UTC](https://forums.unrealengine.com/t/documentation-how-to-use-blend-depth-in-layered-blend-per-bone-node/339150/7 "2018-09-06T15:52:37Z")

</div>

This looks correct. In UE4.20, same source file, line 1302-1317 it appears to be a scaling factor when not zero, setting _IncreaseWeightPerDepth_ to 1/_BlendDepth_ when _BlendDepth_ !=0 or to 1.0 when _BlendDepth_ == 0. Then looping over _NumBones_ the _BlendWeight_ + (_IncreaseWeightPerDepth_ \* _Depth_) is clamped to (0.0,1.0) effectively limiting the effect to abs(_BlendDepth_) bones from root. A negative value inverts the scaling away from the root bone, making it the least affected in the chain.

---

<div class="post-metadata">

**Author:** ![oneadamleft](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@oneadamleft](https://forums.unrealengine.com/u/oneadamleft)\
**Post date:** [November 21, 2018, 11:30pm UTC](https://forums.unrealengine.com/t/documentation-how-to-use-blend-depth-in-layered-blend-per-bone-node/339150/8 "2018-11-21T23:30:46Z")

</div>

If you experiment with it, it seems to distribute the blend over the number of bones you specify.

---

<div class="post-metadata">

**Author:** ![TVinforest](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tvinforest/32/462613_2.png) [@TVinforest](https://forums.unrealengine.com/u/TVinforest)\
**Post date:** [June 6, 2019, 12:52am UTC](https://forums.unrealengine.com/t/documentation-how-to-use-blend-depth-in-layered-blend-per-bone-node/339150/9 "2019-06-06T00:52:09Z")

</div>

A little bit of necromancy here: link to LiveStream - EpicGames Lead Animator explains this node in detail. [Animation Blueprint Setup & Walkthrough | Live Training | Unreal Engine Livestream - YouTube](https://youtu.be/ffuq5k-j0AY?t=3627)

---

<div class="post-metadata">

**Author:** ![Imagine-Games](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Imagine-Games](https://forums.unrealengine.com/u/Imagine-Games)\
**Post date:** [June 6, 2019, 3:07am UTC](https://forums.unrealengine.com/t/documentation-how-to-use-blend-depth-in-layered-blend-per-bone-node/339150/10 "2019-06-06T03:07:30Z")

</div>

Just watched the video tvinfoforest posted which links to epic livetraining and So tomofnz was right … but its actually even more useful now knowing that the depth is for the bone structure so setting it to pelvis like he says and depth to 4 it will blend down the bone hierarchy to spine01, 02 03 will be 100% already and setting a bone to -1 like he does in the video will tell that bone to ignore it… thanks tvinfoforest!

---

<div class="post-metadata">

**Author:** ![LordStuff](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LordStuff](https://forums.unrealengine.com/u/LordStuff)\
**Post date:** [September 30, 2019, 7:26pm UTC](https://forums.unrealengine.com/t/documentation-how-to-use-blend-depth-in-layered-blend-per-bone-node/339150/11 "2019-09-30T19:26:14Z")

</div>

I know this is an older thread but it still exists and can bring people to wrong conclusion.

The way described by _tomofnz_ would be very intuitive, but doesn’t seem correct. Also _woppin’s_ comment marked as answer might be informative for people who want to take an in-depth look at it, but didn’t really help me understand how to use it.

For any newcomers, I advise you to take a look at this **[post here](https://answers.unrealengine.com/questions/387906/what-does-the-blend-depth-parameter-in-layered-ble.html?sort=oldest)** where it is beautifully demonstrated by _asmischney_. (Y)

Thanks and cheers!

---

<div class="post-metadata">

**Author:** ![AJ\_Graphix](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/aj_graphix/32/1194669_2.png) [@AJ\_Graphix](https://forums.unrealengine.com/u/AJ_Graphix)\
**Post date:** [September 3, 2021, 8:33pm UTC](https://forums.unrealengine.com/t/documentation-how-to-use-blend-depth-in-layered-blend-per-bone-node/339150/12 "2021-09-03T20:33:02Z")

</div>

Thank you, that was very helpful! I also recommend for people to read Gooseman1977’s answer in the same thread you linked too which explains setting bone depth to values greater than 1.

---

<div class="post-metadata">

**Author:** ![NorthRockStudios](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/northrockstudios/32/925918_2.png) [@NorthRockStudios](https://forums.unrealengine.com/u/NorthRockStudios)\
**Post date:** [September 10, 2024, 5:33pm UTC](https://forums.unrealengine.com/t/documentation-how-to-use-blend-depth-in-layered-blend-per-bone-node/339150/13 "2024-09-10T17:33:50Z")

</div>

I thought I would stop by and drop a link to the direct documentation for the this node. It gives some video examples on how it can affect your animations along with some brief descriptions as well.

> **[Animation Blueprint Blend Nodes in Unreal Engine | Unreal Engine 5.4...](https://dev.epicgames.com/documentation/en-us/unreal-engine/animation-blueprint-blend-nodes-in-unreal-engine#layeredblendperbone)**
>
> Animation nodes that blend multiple animations together based on a set of criteria.
