It automatically turns. And also press space to see another example project. I've been trying to make shadows but have been stuck with how to do it. All I had to do was render the shadows BEFORE the object! Enjoy!
Give credit to me if you remix! All by: me most sprites from the scratch library.