# How to set Boolean in Anim Graph for blend poses by bool

**URL:** <https://forums.unrealengine.com/t/how-to-set-boolean-in-anim-graph-for-blend-poses-by-bool/433815>\
**Category:** Character & Animation\
**Tags:** blend-poses, unreal-engine, question\
**Created:** [September 14, 2018, 6:39pm UTC](https://forums.unrealengine.com/t/how-to-set-boolean-in-anim-graph-for-blend-poses-by-bool/433815 "2018-09-14T18:39:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stephensonmafiu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Stephensonmafiu](https://forums.unrealengine.com/u/Stephensonmafiu)\
**Post date:** [September 14, 2018, 6:39pm UTC](https://forums.unrealengine.com/t/how-to-set-boolean-in-anim-graph-for-blend-poses-by-bool/433815/1 "2018-09-14T18:39:38Z")

</div>

Hello Everyone!  
I’m noob to the engine, i wish for some wisdom, I’m trying to set the blendings between my idle animation and the weapon equipped animation.

 ![253712-cattura-2018-09-14-20-31-58-263.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/8/288a2ced4c3df66ffdd3124805584d239fb7160d.png)

Te problem is that the input code i’ve made in the character blueprint doesen’t work.

![253713-cattura-2018-09-14-20-34-42-779.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/9/5/095b210b869d788c51bbafdc98421c3f39f3159c.png)

Why can’t I use the same variables from the character blueprint in the animation blueprint? I can’t find a way to make this work, please help me!  
Tank you very much!

---

<div class="post-metadata">

**Author:** ![vivalabugz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vivalabugz](https://forums.unrealengine.com/u/vivalabugz)\
**Post date:** [September 14, 2018, 7:10pm UTC](https://forums.unrealengine.com/t/how-to-set-boolean-in-anim-graph-for-blend-poses-by-bool/433815/2 "2018-09-14T19:10:59Z")

</div>

Hey stephensonmafiu,

What you can do to get around this is in either of these ways (the second being almost identical to your image).

1. In your animation BP you want to gain access to your character and its variables. The way to do this on the spot is by casting to your character (in my case ThirdPersonCharacter) and then accessing the variable and saving it to your own or using it on the spot.

 ![253715-animbp.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/3/5/a3566ec10d4b269c25373322b8d2f4c4e7ba3498.jpeg)

1. The second way is doing almost the same as 1. This time just promote the cast to a variable and access that when you need the variable.

 ![253717-animvar.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/7/2/a7273430c9c9695e231fb49d2f5c86093fb28ad8.png)

Now get that in into your graph by access your character variable

 ![253718-charbool.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/f/d/6fd9140d549ae8ddfa378053630ffa516dfaf421.jpeg)

---

<div class="post-metadata">

**Author:** ![Stephensonmafiu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Stephensonmafiu](https://forums.unrealengine.com/u/Stephensonmafiu)\
**Post date:** [September 14, 2018, 8:10pm UTC](https://forums.unrealengine.com/t/how-to-set-boolean-in-anim-graph-for-blend-poses-by-bool/433815/3 "2018-09-14T20:10:09Z")

</div>

It didn’t work the firt way but the second one did!! Thank you!! You’re the best!

---

<div class="post-metadata">

**Author:** ![SAM13900](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SAM13900](https://forums.unrealengine.com/u/SAM13900)\
**Post date:** [February 6, 2024, 1:32pm UTC](https://forums.unrealengine.com/t/how-to-set-boolean-in-anim-graph-for-blend-poses-by-bool/433815/4 "2024-02-06T13:32:30Z")

</div>

Hey @vivalabugz can you share a solution when we want to check two conditions (two Booleans) in the Blend Poses by Bool?
