can i access a custom variable in a blueprint character from another blueprint ?

If you your desire character is Player you can access it from ‘Get Player Pawn’ function in blueprint. this function will return an actor and its required to a Cast.

Make sure the Variable is set to public; and Compile the blueprint!


I made a blueprint from the character class and created a variable in it and i would like to access that variable from another blueprint.

The classic tutorial:

didn’t help (or maybe i missed something ?), because the character is a temporary actor and is only accessible at runtime (so not available as a default option for the target blueprint created in the working blueprint).

More generaly, is it possible to access custom variables in temporary actors from outside ?

Thanks for your time.


Hello Taesiri, just perfect ! Thank you so much !