if event.type == pygame.MOUSEBUTTONDOWN:
if event.button == 1:
print('LEFT MOUSE BUTTON CLICKED')
elif event.button == 3:
print('RIGHT MOUSE BUTTON CLICKED')
if event.type == pygame.MOUSEBUTTONDOWN:
if event.button == 1:
print("Left Mouse Button Down!")
if event.type == pygame.MOUSEBUTTONDOWN:
print(event.button)
#------------------------#
1 - left click
2 - middle click
3 - right click
4 - scroll up
5 - scroll down
#------------------------#
1 - left click
2 - middle click
3 - right click
4 - scroll up
5 - scroll down
if event.type == pygame.MOUSEBUTTONDOWN:
print(event.button)