Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to know if the space button has been clicked in python pygame

state = pygame.key.get_pressed()
if state[pygame.K_SPACE]:
 
PREVIOUS NEXT
Tagged: #space #button #clicked #python #pygame
ADD COMMENT
Topic
Name
9+9 =