if event.type == pygame.MOUSEBUTTONDOWN: if event.button == 1: print('LEFT MOUSE BUTTON CLICKED') elif event.button == 3: print('RIGHT MOUSE BUTTON CLICKED')