getting the playerPosition