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

Re: [pygame] mouse.get_pos()?



Make sure you are pumping the event queue, either with pygame.event.get or pygame.event.pump

On Mon, Aug 17, 2009 at 9:36 PM, Yanom Mobis <yanom@xxxxxxxxxxxxxx> wrote:
I made a simple script to print the output of pygame.mouse.get_pos() every frame, but it keeps printing the same tuple, no matter where i move the mouse.