Here’s how I’d do it:
This is my NPC:
- above: the widget component is set to screen mode and is hidden by default
- below: when the game starts we feed the widget the name of the NPC; this variable is Instance Editable
- the sphere overlap detects the player and shows / hides the widget component
In the scene:
The widget:
- the text block is flagged as isVariable