Selecting actors one at a time?

Hello! I’m currently studying UE5 and Blueprints and I’ve been thinking of just doing some basic stuff like if an actor is clicked, I will then display a UI on the screen. I’ve got it to work however, I wanted to add something to it more. What I want is that when I select one actor, then select another actor, the previous actor will hide its UI on the screen.

I basically have just 4 actors present on my scene and I don’t want them to still show their UI when I select another actor. I wonder how I can achieve this? Thank you!