Get player reference in a multiplayer game?

I’m trying to figure out how to get a reference to a specific player when there’s more than one player in the game. Basically, I have something like this:

When OnComponentBeginOverlap is triggered by a player, input is enabled for all the players in the game. How do I enable input only for the player who triggered the event?

Its right in front of you, the “Other Actor”. Cast it to the pawn you are using and if it succeds, call “Get Controller” to get the actual Player controler that is possessing it.
If your overlap is not triggered by the actual pawn but rather from a bullet or something you can get the “Insitgator” of it first to get a reference to which Actor has spawned it.