# My bool isn't talking to another blueprint

**URL:** <https://forums.unrealengine.com/t/my-bool-isnt-talking-to-another-blueprint/292409>\
**Category:** Blueprint\
**Tags:** bool, unreal-engine, editor, UE4, Blueprint, question\
**Created:** [August 30, 2014, 3:30am UTC](https://forums.unrealengine.com/t/my-bool-isnt-talking-to-another-blueprint/292409 "2014-08-30T03:30:56Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_d9e970c9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d9e970c9](https://forums.unrealengine.com/u/anonymous_user_d9e970c9)\
**Post date:** [August 30, 2014, 3:30am UTC](https://forums.unrealengine.com/t/my-bool-isnt-talking-to-another-blueprint/292409/1 "2014-08-30T03:30:56Z")

</div>

Hi!

I have a setup where one BP sets a bool, and the other BP looks at the first to see if a bool variable is true. Problem is, my second BP can’t see the status of the first’s variable! What’s going on here?

 ![14160-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/5/6/c560c6278fb1b5f881571703040a9c99a4061318.png)

 ![14181-2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/e/6/3e66e049b2180322d23e478f068037779115737a.png)

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [August 30, 2014, 3:58am UTC](https://forums.unrealengine.com/t/my-bool-isnt-talking-to-another-blueprint/292409/2 "2014-08-30T03:58:37Z")

</div>

How do you populate “Player Pawn” variable? or you calling to empty variable, which is common newbie error

Btw you can use “Get Player Pawn” (if player controller possess it) to get you actor (you will need to cast after that to access to bool). Also isn’t more efficient to call some function to ObjectiveWall in some way instead of checking bool on every frame?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d9e970c9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d9e970c9](https://forums.unrealengine.com/u/anonymous_user_d9e970c9)\
**Post date:** [August 30, 2014, 4:54am UTC](https://forums.unrealengine.com/t/my-bool-isnt-talking-to-another-blueprint/292409/3 "2014-08-30T04:54:21Z")

</div>

Oh whoops. I probably am calling to an empty variable. How do I fill it?

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [August 30, 2014, 1:59pm UTC](https://forums.unrealengine.com/t/my-bool-isnt-talking-to-another-blueprint/292409/4 "2014-08-30T13:59:49Z")

</div>

As i described in anwser, you can get player controller possessed pawn with Get Player Pawn node, i can even see this node in favorites tab on your screen. And again you will need to cast it to your PlayerPawn to set it to your varable

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d9e970c9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d9e970c9](https://forums.unrealengine.com/u/anonymous_user_d9e970c9)\
**Post date:** [August 31, 2014, 12:24am UTC](https://forums.unrealengine.com/t/my-bool-isnt-talking-to-another-blueprint/292409/5 "2014-08-31T00:24:56Z")

</div>

Maybe I’m missing something but it looks like it still can’t read the property after the cast for some reason? Isn’t the cast looking at the variable as the PlayerPawn?

 ![14211-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/2/f/62fddd2d1d69c5f1b285b600d51e775c62ad6edd.png)

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [August 31, 2014, 1:46am UTC](https://forums.unrealengine.com/t/my-bool-isnt-talking-to-another-blueprint/292409/6 "2014-08-31T01:46:26Z")

</div>

Now set that varable with node

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d9e970c9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d9e970c9](https://forums.unrealengine.com/u/anonymous_user_d9e970c9)\
**Post date:** [August 31, 2014, 1:48am UTC](https://forums.unrealengine.com/t/my-bool-isnt-talking-to-another-blueprint/292409/7 "2014-08-31T01:48:13Z")

</div>

But isn’t it already set?

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [August 31, 2014, 2:06am UTC](https://forums.unrealengine.com/t/my-bool-isnt-talking-to-another-blueprint/292409/8 "2014-08-31T02:06:31Z")

</div>

Where? you just casting output of Get Player Pawn, not setting variable. You seem lacking basic knowledge about objects, watch this tutorial:

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d9e970c9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d9e970c9](https://forums.unrealengine.com/u/anonymous_user_d9e970c9)\
**Post date:** [August 31, 2014, 2:09am UTC](https://forums.unrealengine.com/t/my-bool-isnt-talking-to-another-blueprint/292409/9 "2014-08-31T02:09:24Z")

</div>

Well if you look at the first image the PlayerPawn BP is setting the variable. But maybe I misunderstand what cast does? I’ll watch your video though thanks.

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [August 31, 2014, 2:49am UTC](https://forums.unrealengine.com/t/my-bool-isnt-talking-to-another-blueprint/292409/10 "2014-08-31T02:49:15Z")

</div>

You not settign variable ;p to set variable you need to drag varbale to graph and click set

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d9e970c9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d9e970c9](https://forums.unrealengine.com/u/anonymous_user_d9e970c9)\
**Post date:** [August 31, 2014, 2:53am UTC](https://forums.unrealengine.com/t/my-bool-isnt-talking-to-another-blueprint/292409/11 "2014-08-31T02:53:56Z")

</div>

But I am setting the variable lol. The PlayerPawn is setting the variable, and I need the Painting BP to read the variable set by the PlayerPawn.

 ![14213-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/6/9/a693e9e668947b5260398acbbdb82803f322912f.png)

 ![14214-2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/7/c/97cb341e1db87bad311bf69614767a9e9a5c5376.png)

Thanks for putting up with me. Still watching your video 🙂

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [August 31, 2014, 3:05am UTC](https://forums.unrealengine.com/t/my-bool-isnt-talking-to-another-blueprint/292409/12 "2014-08-31T03:05:10Z")

</div>

ah so you viewing bool sorry i misunderstood, but does other then that do blueprint works? If not check if your pawn is possesed by Player Controller

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d9e970c9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d9e970c9](https://forums.unrealengine.com/u/anonymous_user_d9e970c9)\
**Post date:** [August 31, 2014, 3:08am UTC](https://forums.unrealengine.com/t/my-bool-isnt-talking-to-another-blueprint/292409/13 "2014-08-31T03:08:32Z")

</div>

Haha, no problem I should have made that clearer. And yes, the Blueprint works otherwise and the Pawn is being possessed by PlayerController. The only problem is that the second BP is failing to read the variable set by the first BP, even though it is referenced.

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [August 31, 2014, 12:26pm UTC](https://forums.unrealengine.com/t/my-bool-isnt-talking-to-another-blueprint/292409/14 "2014-08-31T12:26:02Z")

</div>

Well then i guess in in engine problem, which can be ignored as you said blueprint works?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d9e970c9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d9e970c9](https://forums.unrealengine.com/u/anonymous_user_d9e970c9)\
**Post date:** [December 15, 2014, 10:27pm UTC](https://forums.unrealengine.com/t/my-bool-isnt-talking-to-another-blueprint/292409/15 "2014-12-15T22:27:44Z")

</div>

Got it to work Thanks!

---

<div class="post-metadata">

**Author:** ![Kayhan\_Ygh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kayhan\_Ygh](https://forums.unrealengine.com/u/Kayhan_Ygh)\
**Post date:** [June 19, 2015, 8:49pm UTC](https://forums.unrealengine.com/t/my-bool-isnt-talking-to-another-blueprint/292409/16 "2015-06-19T20:49:27Z")

</div>

Hi,  
I’m having the similar issue.  
I’m trying to create a simple weapon pick up system. But I cant get the Boolean property from widget blueprint in my weapon blueprint.  
I’ll appreciate if u guys guide me with this issue.

 ![46728-screen1_widget.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/c/c/fcc76b67718b9cd0311c79fd4315c7f6882f0e00.jpeg)

 ![46729-screen2_actorbp.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/5/f/f5ff81d7886b83a735a3a4362f10f23d2c5e69b2.jpeg)

][2]][2]

---

<div class="post-metadata">

**Author:** ![678GUY](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@678GUY](https://forums.unrealengine.com/u/678GUY)\
**Post date:** [October 3, 2016, 10:18pm UTC](https://forums.unrealengine.com/t/my-bool-isnt-talking-to-another-blueprint/292409/17 "2016-10-03T22:18:47Z")

</div>

i know you already got it working but i wanted to say this to you anyway  
casting is getting into a class blueprint to see is variable and lunch custom event but because if class blueprint you need to specify wich one to do it so if you have only one object of this do this  
take get all actors from class change wich class then connect get to it and then use the node get default scene root connect to it get owner and this the the object part of a cast node this will cast to the first oldest actor of a blueprint  
(to change it change the 0 in get)
