# Call a boolean from a class BP in the Level BP

**URL:** <https://forums.unrealengine.com/t/call-a-boolean-from-a-class-bp-in-the-level-bp/369974>\
**Category:** World Creation\
**Tags:** sockets, unreal-engine, Collision, question, Blueprint\
**Created:** [September 9, 2016, 10:07pm UTC](https://forums.unrealengine.com/t/call-a-boolean-from-a-class-bp-in-the-level-bp/369974 "2016-09-09T22:07:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Waz0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Waz0](https://forums.unrealengine.com/u/Waz0)\
**Post date:** [September 9, 2016, 10:07pm UTC](https://forums.unrealengine.com/t/call-a-boolean-from-a-class-bp-in-the-level-bp/369974/1 "2016-09-09T22:07:55Z")

</div>

Hi everyone,

With some friends we’re trying to set up a quite simple TPS, and I’m really new to the blueprint section of Unreal. I followed some tutorials to be able to pick up an item to ware with sockets like a gun. For now I can pick up my gun by getting close to it and pressing E, but as it works with collision I can’t throw it away with the same E and my “pick up text” still display. So how can I verify that my weapon is holded so that I can disable the pick up action and text ? or any other suggestions.

Here’s my pick up action and text tabs :

 ![106423-pickup1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/4/9/549efcc4631dd75595b3aab5c7ab8f2aaa6f7736.jpeg)

 ![106425-pickup2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/9/4/e94a9a224f57071b47ff24e5d6b7db9d3b58408e.jpeg)

 ![106426-pickup3.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/9/c/39c4b4861baea562c25b5f87de3743f4c65d4593.jpeg)

Sorry if that’s unclear

Thank you !

---

<div class="post-metadata">

**Author:** ![Waz0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Waz0](https://forums.unrealengine.com/u/Waz0)\
**Post date:** [September 10, 2016, 12:13pm UTC](https://forums.unrealengine.com/t/call-a-boolean-from-a-class-bp-in-the-level-bp/369974/2 "2016-09-10T12:13:02Z")

</div>

Ok so I managed to solve my “Pick Up Action” problem with a boolean “WeaponIsCarried”

 ![106445-pickup4.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/7/c/67cec26c21e043d6635574d42239852619a67cfd.jpeg)

However i still can’t figure out how to mask my “Pick Up Text” because it’s in another blueprint and I can’t call my weapon boolean.

Any solutions ?

---

<div class="post-metadata">

**Author:** ![Waz0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Waz0](https://forums.unrealengine.com/u/Waz0)\
**Post date:** [September 13, 2016, 8:27am UTC](https://forums.unrealengine.com/t/call-a-boolean-from-a-class-bp-in-the-level-bp/369974/3 "2016-09-13T08:27:08Z")

</div>

Up : so the question is finally : how do you call a boolean from a class BP in the Level BP ? I saw many ways to do the opposite, but nothing seems to work on this situation.

Thank you
