How to cast from FString to Text Block in UI?

This might help

Edit: you can also bind data to the text block so all you have to do is attach the world name to the binding function

I have a custom function that is returning a randomly generated string from a custom class. How exactly do I apply that returned text to a text object in the Hud that the player can see? I can’t find any conversion from FString that the setter for a text object in the UMG wants.

The Text component here is what I want to set.

Okay I got it. I saw I only getting the HUD and trying to get the text component form that before trying to get the actual text block first.