# Help! How to get the player who clicked and the one who is gettting clicked

**URL:** <https://forums.unrealengine.com/t/help-how-to-get-the-player-who-clicked-and-the-one-who-is-gettting-clicked/1246705>\
**Category:** Blueprint\
**Tags:** playercontroller, playerstate, event-dispatcher, click-event, unreal-engine, please-help-me, Multiplayer, Blueprint, question\
**Created:** [August 1, 2023, 6:07am UTC](https://forums.unrealengine.com/t/help-how-to-get-the-player-who-clicked-and-the-one-who-is-gettting-clicked/1246705 "2023-08-01T06:07:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Devilondetails](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Devilondetails](https://forums.unrealengine.com/u/Devilondetails)\
**Post date:** [August 1, 2023, 6:07am UTC](https://forums.unrealengine.com/t/help-how-to-get-the-player-who-clicked-and-the-one-who-is-gettting-clicked/1246705/1 "2023-08-01T06:07:38Z")

</div>

So, I am making a multiplayer game where I want it so that when a player1 who is playing the game sees the avatar of player 2 he can click on that avatar and a widget get’s created showing profile of the Player 2, also there is a button in that widget “Send Friend Request” which when clicked should execute the event on Player2 that creates a notification widget.

I looked up several solutions that were halfway, so some were just to get the click owner/ player who clicked and some were getting the clicked player. For example, Get Hit Result Under Cursor by Channel gives me the clicked actor but can’t get a player reference from it so that I can get data of that specific player2 and update stats on the player 1 widget.

I really appreciate any help 🙏

Context:  
Unreal Engine 5.1.1  
Development Mode Blueprints
