for event in pygame.event.get():
print("debug")
if event.type == pygame.QUIT:
pygame.quit()
quit()
if event.type == pygame.KEYDOWN:
if event.key == pygame.K_LEFT:
self.place_block()
self.update_ui()
print("next")
the "debug" does not print at all when I press a key
I want the custom methods to run when the respective key is pressed I have plans to add direction later in the code