Casting to the Actor Blueprint

What object do I need to connect to be able to get my variable from a Blueprint Actor?

So I just remembered about this thing which does the job:

Just note this executes every frame. You’re doing exactly what the node’s tooltip tells you not to. Kind of ironic, since this is supposed to measure fps, I reckon?


If you need a widget to show actor’s data, why not create the widget in that very actor?

You mean like directly executing the code from the character, in my case from the ThirdPersonCharacter?

Imagine this is the third person character BP:

The player creates the widget, stores the reference, adds it to the screen. Tick updates the text.

No casting, no GetAll nodes. And you can send any data to that widget, the player has full access via the reference.


You’re attempting to cast to the FPS calculator actor. So perhaps it’s better to create this widget in that calculator blueprint since they need to communicate.

I might be missing the point of what you’re trying to do so this may not be applicable.


If you’re just prototyping, GetAll nodes are cool. They’re OK for some uses even in a final product. But if this is anything serious, calling it on Tick is not the best use or resources.

I understand, thank you for the help!