When making this project, make sure you click on the little "i" next to the sprite and click the double arrow next to rotation.