This is a small project, part of a larger one I'm currently working on. It allows you to create a center of rotation other than the base one of the sprite. Drag the CAM X and CAM Y variables to change the rotation point of the square.
All the code is by me. Thank's to @awesome-llama for the Car Parking Challenge idea.