Assuming your game is a single-player game, you can call UGameplayStatics::GetPlayerController(context, 0) and then call GetPawn() on that player controller to get the actual player character. (Or GetPawnOrSpectator() if you prefer.)
2 Likes