Pygame .Rect won't “collide” with mouse
问题 I am working on a simple game and with small circle "systems". I would like to be able to click each system so that I can do more with it later in game but I am having difficulty recognizing only a single click. I pass the randomly generated coords to a dictionary and then the collision for each rect should be checked with the mouse position but for some reason that is not working anymore. Any help is appreciated. Here is some of the more relevent code. for i in range(NumSystems): SysSize =