get component or actor when mouse click for interation multiplayer top down template

Controller:
image

Actor:

test:
image

In a top-down template, the actor will be on the server side, it will be an NPC, so I need to identify who clicks on the NPC.
There are 2 options:
1 - the NPC identifies the player who is clicking and casts to that player to open a HUD.
2 - the controller identifies that actor using the “get hit result under cursor by channel” (or something similar) and uses the actor’s tag to identify which HUD to open for the player.

I know how to do the second option using a keyboard key in a third-person template, but I don’t know how to do this in a top-down template where I want to use the mouse for interaction with NPCs.

Context: In a top-down multiplayer template, I want to click on an NPC and open that NPC’s HUD for the player to interact with, for this I need to identify the NPC so that I can access its variables such as an array of items in the case of an NPC for buying and selling items.

Try this: