rightclick in pygame

Solutions on MaxInterview for rightclick in pygame by the best coders in the world

showing results for - "rightclick in pygame"
Marwa
31 Apr 2019
1if event.type == pygame.MOUSEBUTTONDOWN:
2    print(event.button)
3    
4#------------------------#
51 - left click
62 - middle click
73 - right click
84 - scroll up
95 - scroll down
10#------------------------#
Marion
10 Jan 2018
1if event.type == pygame.MOUSEBUTTONDOWN:
2  if event.button == 1:
3    print("Left Mouse Button Down!")