I have a scaled image in my window in pygame. I need a way to find the position of the mouse over the image. The normal .pos function gives me the coordinates in relation to the whole window and not the image.
For example:
The window's (0,0) is different than the image's (0,0).
Is there a way to treat the image like its own window so I can return the coordinates of the cursor inside of the image?