hide the cursor
This commit is contained in:
parent
7c29cdb883
commit
48d1736bcf
@ -19,6 +19,8 @@ def main():
|
|||||||
while running:
|
while running:
|
||||||
clock.tick(60)
|
clock.tick(60)
|
||||||
|
|
||||||
|
pygame.mouse.set_visible(False)
|
||||||
|
|
||||||
for keyboard_event in pygame.event.get():
|
for keyboard_event in pygame.event.get():
|
||||||
if keyboard_event.type == pygame.QUIT:
|
if keyboard_event.type == pygame.QUIT:
|
||||||
running = False
|
running = False
|
||||||
|
Loading…
Reference in New Issue
Block a user