- How can I rotate an image or surface in SDL?
Rotate the image using Image.Image()->rotate() before you write it to the surface with set_image().
- How can I get the mouse position during mouse moving in SDL?
When the event type is SDL.MOUSEMOTION, you can access the fields "x" and "y" of the event to find the mouse position.