HUD Element read collision box text variable.

I have successfully gone through a tutorial on UMP elements and creating a UI system based on that. I have also successfully gotten a text element on that UI to appear and disappear upon entering a trigger box. The trigger box is set up as a class blueprint with an instanced text variable. I want my appearing and dissappearing UI element to read the text parameter and display that text which would change depending on which trigger you are within. What I am struggling with is how to cast that text variable to the UI blueprint.