How to call a blueprint variable from another blueprint?

You have 2 choices, Bluprint Comms or Blueprint Interfaces. Basically, make the variable , ie. click the eye next to it so it’s open. But here’s a thread with discussion on it:

Hi. I have a blueprint character and I have set up a bool to be activated when the event “InputAction Jump” fires. I want that another blueprint checks that bool, but I can’t find the way to access it there. It would be great if there was a way to call, in that other blueprint, “Get Player Character” and from the return node be able to call a function to get the bool variable value, but I’ve only been able to do that with variables that are actor references (with “Exposed On Spawn” and “Editable” set to true), but not other types of variables. How can I do it?

Thanks you. I recommend looking here to people searching on this:

I have to say whats on everyone’s mind here. I’ve read this and other forums repeatedly to figure this out and still don’t get it. In other games or scripting in general it aint no thang to declar variables in higher scope and access or change said variables from any scripts within the scope. Or declaring variables, declaring global variables is a synch in other engines. I don’t understand at all why this is so extremely hard to do in Unreal. I really don’t. I spent the last 3 hours messing with interfaces and functions all so I can pass variables from a parent class to its child class and still no luck. It almost seems as if ya’ll have made this difficult on purpose. Whats the deal?


This is how I feel. 3 days now, reading about interfaces, variables, dispatchers, blah blah blah. read so much I can barely even process the english language anymore and I still have no idea how to call a variable from another BP. At least I finally read somewhere that you just flat out can’t call variables from level blueprints (okay, sure, why not.). I’m totally burnt out trying to solve something that is so simple. most likely the solution is a checkbox in some super unintuitive menu waiting to be ticked. Hopefully someone links me their tutorial video that’s over an hour long with some overly complex reply that I can’t begin to decipher.


You can also call blueprint variables from another blueprint by using a way that I only just realised, although I can’t believe I didn’t. when you need to access the variable, simply put “Cast To [BluePrint Name]”, and drag out the "As [BluePrint Name Casting - Child Parent] node and type the name of the variable. This will allow you to affect and search for the other BluePrints’ variable. If my description wasn’t clear, I have included the link to a tutorial on this subject.


This thread is over 4 years old…

1 Like

Yeah, but I find that way easier, and if others come to this thread as I did they’ll have that option as well.

1 Like

its looking to be helping me.

Yeah it helped me too , don’t think other people aren’t learning now what you did 4 years ago .

1 Like

But, what do I put into the object node? Neither “get owner” nor “get parent actor” works

Me too having same question since a long time. That’s why I always try to avoid casting

Try Get Player Character

its simple create a game instance bp and change game instance setting in project settings to the new blueprint that you made then make the variable inside of the game instance bp that you created and then whereever you want to use the variable cast to the instance blueprint that you created then connect in to the oblect the get game instance then access whatever variable you stored there you can also do that with gamemode and the game mode is for variables to be stored for levels and be accesible only on certain levels and the game instance is for variables that are used througout the whole game and are used in multiple levels i hope i helped

here’s a video tutorial showing how it works:

in the photograph i access a variable inside of game istance blueprint.

1 Like

i writed the solution you finally your question is answered :blush: :joy:

1 Like

how to make this ‘SET’ node ?
I can’t find it all node…

UE4 - Storing Variables between scenes - Unreal Engine 4 Blueprints Tutorial - YouTube look at this

1 Like