# Boolean and/or branch node not working in trigger box bp

**URL:** <https://forums.unrealengine.com/t/boolean-and-or-branch-node-not-working-in-trigger-box-bp/469514>\
**Category:** Character & Animation\
**Tags:** boolean, branch, trigger-volume, unreal-engine, question\
**Created:** [August 10, 2020, 3:17pm UTC](https://forums.unrealengine.com/t/boolean-and-or-branch-node-not-working-in-trigger-box-bp/469514 "2020-08-10T15:17:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_00fcbd3e1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_00fcbd3e1](https://forums.unrealengine.com/u/anonymous_user_00fcbd3e1)\
**Post date:** [August 10, 2020, 3:17pm UTC](https://forums.unrealengine.com/t/boolean-and-or-branch-node-not-working-in-trigger-box-bp/469514/1 "2020-08-10T15:17:34Z")

</div>

Essentially, I’ve created a system here where the button press and therefore the animation are only able to be used if the character is inside the trigger box (the blueprint this is in), using the boolean QPressDrink. I used the print string functions to establish that the boolean is correctly made true or false by entering/exiting the trigger box. However, even when the variable is true, the anim montage doesn’t play. But it also doesn’t print the ‘not working’ message. It seems like there’s an issue with that branch node. When I end the test, I don’t get any error messages.

I’ve been struggling with this for a while and I’m completely stumped. Any help much appreciated.

 ![309783-annotation-2020-08-10-155016.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/c/9/8c91ea39efbc98e0cff3e1c30a4953b432db484b.png)

---

<div class="post-metadata">

**Author:** ![EvilCleric](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EvilCleric](https://forums.unrealengine.com/u/EvilCleric)\
**Post date:** [August 10, 2020, 4:07pm UTC](https://forums.unrealengine.com/t/boolean-and-or-branch-node-not-working-in-trigger-box-bp/469514/2 "2020-08-10T16:07:07Z")

</div>

Have you added a slot in the animgraph?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_00fcbd3e1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_00fcbd3e1](https://forums.unrealengine.com/u/anonymous_user_00fcbd3e1)\
**Post date:** [August 10, 2020, 4:15pm UTC](https://forums.unrealengine.com/t/boolean-and-or-branch-node-not-working-in-trigger-box-bp/469514/3 "2020-08-10T16:15:08Z")

</div>

No, but I don’t think montages can be played in animgraphs. It also worked fine in the character bp when I had the montage play without a trigger box and slot in the animgraph.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_00fcbd3e1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_00fcbd3e1](https://forums.unrealengine.com/u/anonymous_user_00fcbd3e1)\
**Post date:** [August 10, 2020, 4:17pm UTC](https://forums.unrealengine.com/t/boolean-and-or-branch-node-not-working-in-trigger-box-bp/469514/4 "2020-08-10T16:17:53Z")

</div>

Just tested it. Good suggestion but I couldn’t add the montage. Plus, although the boolean is public, I couldn’t add that to the transition either.

---

<div class="post-metadata">

**Author:** ![EvilCleric](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EvilCleric](https://forums.unrealengine.com/u/EvilCleric)\
**Post date:** [August 10, 2020, 4:30pm UTC](https://forums.unrealengine.com/t/boolean-and-or-branch-node-not-working-in-trigger-box-bp/469514/5 "2020-08-10T16:30:09Z")

</div>

I’m talking about a slot before the final pose:

 ![308882-1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/e/7/9e7ac5663a1357b843534a2151e8eac581131f0e.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_00fcbd3e1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_00fcbd3e1](https://forums.unrealengine.com/u/anonymous_user_00fcbd3e1)\
**Post date:** [August 12, 2020, 1:04pm UTC](https://forums.unrealengine.com/t/boolean-and-or-branch-node-not-working-in-trigger-box-bp/469514/6 "2020-08-12T13:04:38Z")

</div>

Oh ok. I’ve only been using unreal for a month or so and am still getting used to it. I can’t seem to find this (final animation pose). Or is it something I need to create?
