elif event.key == pygame.K_RETURN or event.key == pygame.K_SPACE or event.key == pygame.K_KP_ENTER or event.key == pygame.K_c:
self.run_sprite_command(self.selected_item)
It looks like you're new here. If you want to get involved, click one of these buttons!