[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Question about mouse motion



I wonder what is the best way to implement this algorithm:
        
        while true:
                if mouse click:
                        return get rect which mouse is on
                        
Thanks for your answers.