Skip to content Skip to sidebar Skip to footer

Use Pygame Mouse While Hidden

Is there a way to use the mouse while, pygame.mouse.set_visible(False) is activated. Currently mouse only returns the bottom-right coordinate when tried to be used. Being able to

Solution 1:

I solved the problem by using an invisible cursor.

pygame.mouse.set_cursor((8,8),(0,0),(0,0,0,0,0,0,0,0),(0,0,0,0,0,0,0,0))

Post a Comment for "Use Pygame Mouse While Hidden"