# variable not there when search in event graph

**URL:** <https://forums.unrealengine.com/t/variable-not-there-when-search-in-event-graph/459864>\
**Category:** Editor Scripting\
**Tags:** Variable, event-graph, unreal-engine, question\
**Created:** [December 24, 2019, 9:33am UTC](https://forums.unrealengine.com/t/variable-not-there-when-search-in-event-graph/459864 "2019-12-24T09:33:17Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_190628ff1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_190628ff1](https://forums.unrealengine.com/u/anonymous_user_190628ff1)\
**Post date:** [December 24, 2019, 9:33am UTC](https://forums.unrealengine.com/t/variable-not-there-when-search-in-event-graph/459864/1 "2019-12-24T09:33:17Z")

</div>

variable not there when search in event graph, but is there some check box to unhide specific variables so i can use it  
i like to now to hide and unhide or unlock specific variables, i use 4.23.1 and 4.24.1 unreal engine, its a bought template project i search everywhere on the internet nothing to find how to unlock it so that it is searchable to use the variables in other blueprints.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [December 24, 2019, 10:12am UTC](https://forums.unrealengine.com/t/variable-not-there-when-search-in-event-graph/459864/2 "2019-12-24T10:12:53Z")

</div>

Any project you get from the marketplace it totally accessible to you, there is no ‘variable locking’.

Maybe this variable you’re looking for just is not in the BP?

Also have you tried searching all BPs?:

 ![294386-screenshot-2019-12-24-at-101156.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/b/a/7babea4662bf675c09ab85725e11decde0caeaf4.png)

( Binoculars on right hand side… )

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_190628ff1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_190628ff1](https://forums.unrealengine.com/u/anonymous_user_190628ff1)\
**Post date:** [December 24, 2019, 10:40am UTC](https://forums.unrealengine.com/t/variable-not-there-when-search-in-event-graph/459864/3 "2019-12-24T10:40:32Z")

</div>

its the maincharacter blueprint and its the health float variable i want to use it in actor for savegame blueprint for saving the health but its not showing up in actor savegame blueprint , i allso tryed the boolean Die variable and that is showing in other blueprints thats strange

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [December 24, 2019, 10:46am UTC](https://forums.unrealengine.com/t/variable-not-there-when-search-in-event-graph/459864/4 "2019-12-24T10:46:33Z")

</div>

Ok, if the variable lives in the character BP, it wont be in the savegame BP 🙂

You have to put a health float in the save game yourself. And when you save the game, copy the value from the charater to the save game…

Have you seen this?:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/5/6/2565d63070f1f1cbb9fe7f1ff872cce4af952f13.jpeg "HTF do I? Use the SaveGame Object in Unreal Engine 4") ](https://www.youtube.com/watch?v=_4usRrTiqak)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_190628ff1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_190628ff1](https://forums.unrealengine.com/u/anonymous_user_190628ff1)\
**Post date:** [December 24, 2019, 11:17am UTC](https://forums.unrealengine.com/t/variable-not-there-when-search-in-event-graph/459864/5 "2019-12-24T11:17:24Z")

</div>

nice video but its not working the parent Class Actor where is my Cast to mycharacterBP cannot get the Get health variable from there thats the problem

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [December 24, 2019, 11:35am UTC](https://forums.unrealengine.com/t/variable-not-there-when-search-in-event-graph/459864/6 "2019-12-24T11:35:02Z")

</div>

The easiest place to save the health from is inside the character BP. You can save it from other places, but then you will need a reference to the player.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [December 24, 2019, 11:39am UTC](https://forums.unrealengine.com/t/variable-not-there-when-search-in-event-graph/459864/7 "2019-12-24T11:39:20Z")

</div>

Like this:

 ![294387-screenshot-2019-12-24-at-113832.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/3/b/53bb1411dd6a2dc17635d3e15fedf4cba672fec9.jpeg)

( It’s a lot less messy if you make sure the save game is there at begin play )

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_190628ff1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_190628ff1](https://forums.unrealengine.com/u/anonymous_user_190628ff1)\
**Post date:** [December 24, 2019, 11:44am UTC](https://forums.unrealengine.com/t/variable-not-there-when-search-in-event-graph/459864/8 "2019-12-24T11:44:12Z")

</div>

thanks for all your help i found it finally the variable was Player\_Health so that i typed for searching  
now i did only Health and there it was wy it did not with Player i dont now. but thanks everything
