You can get some of this info from the text that pops up in the console when you run a pygame program. Ordinarily, pygame detects mouse-clicks inside a window just fine. However, if the user clicks on ...
# How can I add an image or icon to a button rectangle in Pygame? # https://stackoverflow.com/questions/64990710/how-can-i-add-an-image-or-icon-to-a-button-rectangle ...