How to get static mesh name and input it into widget

Plain text works too, just with my line trace I want the widget to be updated with the name of the object itself. Could I do this by somehow calling a bind variable from the widget BP to my line trace BP?

I’m very new to UE5 so I’m not sure how to call variables from other BP’s.