With a Widget component you would use Get Owner.
The AmmoBox (Actor) is using a Widget component to display the text.
On the character you’d use Widget Interaction Component to trigger the text if you only wanted it visible when looking directly at it at a set distance.