# Bool between level and character blueprints

**URL:** <https://forums.unrealengine.com/t/bool-between-level-and-character-blueprints/336529>\
**Category:** Blueprint\
**Tags:** boolean, bool, unreal-engine, Blueprint, question\
**Created:** [October 26, 2015, 12:56pm UTC](https://forums.unrealengine.com/t/bool-between-level-and-character-blueprints/336529 "2015-10-26T12:56:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martin\_Erlandsson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Martin\_Erlandsson](https://forums.unrealengine.com/u/Martin_Erlandsson)\
**Post date:** [October 26, 2015, 12:56pm UTC](https://forums.unrealengine.com/t/bool-between-level-and-character-blueprints/336529/1 "2015-10-26T12:56:00Z")

</div>

So I’m lookning for a way to send a simple bool between my first person character blueprint and my level blueprint.  
I wanna set it in first person character and get it in level.  
So far I’ve made my bool global (with the eye-lid), set it in first person character, cast to in level blueprint, but then I can only set it, not get it!

Probably a noob question, but I would really appriciate your help.

---

<div class="post-metadata">

**Author:** ![StreakyCat](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@StreakyCat](https://forums.unrealengine.com/u/StreakyCat)\
**Post date:** [October 26, 2015, 1:06pm UTC](https://forums.unrealengine.com/t/bool-between-level-and-character-blueprints/336529/2 "2015-10-26T13:06:22Z")

</div>

[http://i.imgur.com/Gsk2Lo3.png](http://i.imgur.com/Gsk2Lo3.png)

Assuming your boolean is inside the Character Controller and marked as public (yellow eye beside boolean):

---

<div class="post-metadata">

**Author:** ![Martin\_Erlandsson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Martin\_Erlandsson](https://forums.unrealengine.com/u/Martin_Erlandsson)\
**Post date:** [October 26, 2015, 1:17pm UTC](https://forums.unrealengine.com/t/bool-between-level-and-character-blueprints/336529/3 "2015-10-26T13:17:47Z")

</div>

That’s great! Though I get one error.  
‘First Person Character’ does not inherit from ‘Player Controller’ (Cast To FirstPersonCharacter would always fail)

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [October 26, 2015, 1:18pm UTC](https://forums.unrealengine.com/t/bool-between-level-and-character-blueprints/336529/4 "2015-10-26T13:18:24Z")

</div>

Hello Martin,

I’ve set up something like this in my level blueprint, where I can cast to the Third Person Character and get the bool from that blueprint. Is this similar to what you are trying to achieve?

 ![64140-gettingbool.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/5/f/95f48bbbdab7234794f03d3335184982288938cc.png)

---

<div class="post-metadata">

**Author:** ![Martin\_Erlandsson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Martin\_Erlandsson](https://forums.unrealengine.com/u/Martin_Erlandsson)\
**Post date:** [October 26, 2015, 1:24pm UTC](https://forums.unrealengine.com/t/bool-between-level-and-character-blueprints/336529/5 "2015-10-26T13:24:04Z")

</div>

Well yes. But the problem is the same as I get with the answer under - I use Event Tick and don’t have ‘Other Actor’. So I don’t get any correct input in the ‘Object’ of the Cast To node.

---

<div class="post-metadata">

**Author:** ![Martin\_Erlandsson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Martin\_Erlandsson](https://forums.unrealengine.com/u/Martin_Erlandsson)\
**Post date:** [October 26, 2015, 1:41pm UTC](https://forums.unrealengine.com/t/bool-between-level-and-character-blueprints/336529/6 "2015-10-26T13:41:08Z")

</div>

Though it worked with Get Player Character instead of Get Character Controller! 😃 So all good here and thanks for your help!
