Creating inputs from player.
Creating inputs from player