This is an Engine to show you how to rotate an object around any point without rotating the image itself. This uses the Sine and Cosine functions to make a circle. Thus, it is changeable and adjustable in realtime. This is much more robust than simply changing the offset of the sprite in sprite editor. Press SPACE to set SizeY to be the same as SizeX.
All code by me. This uses sine and cosine functions of Progress muliplied by sizes and added with the offsets. The center is not integral at all to the code and can be deleted if you want. It just goes to the center and changes size so that you can see where the center is. Speed just increases the increments that Progress makes. Because Sine and Cosine repeat, the Progress variable can loop at 360. You can also have the sprite rotate like normal by setting the direction of the sprite to be Progress.