Player sprite changer direction with input