Blueprint show/hide widget component in X range from another actor

Hello guys,
How can I show the widget component only when a player is near to another player (this widget is the healthbar)
if the player is not in that range the widget should not show for that player

I was trying to do it with overlap in blueprints but failed, or maybe I did it wrong.
The widget is Space: Screen (good quality)


Hi , you can use the overlap event , if you post a screenshot of your test maybe we can help you to fix it,
When you create a widget promote it to a variable, so you can “add it to viewport” and “remove from parent” to make it appear and disappear .