How to make a player and pawn move on the same input?

if the player use the mouse input to rotate, can I make a pawn rotate with the same mouse input? to control both at once?

I expect it has something to do with player index?