This project rotates the square around the point, no matter where it is. Press the "r" key to rotate clockwise, and the "t" key to rotate counterclockwise. Press the arrow keys to move the point. Change the speed slider or press "s" and "d" to change how much it rotates by each frame. (If the square goes off the edge, it will get fenced in.)
Fully backpackable custom block that will rotate any sprite around a given point by a given number of degrees! Feel free to use it! (But I would appreciate acknowledgement for it.) If you ever need to "rotate" the camera, you can rotate all the sprites in it by the opposite amount using this script with the point set to (0,0).