use heading to rotate sprite