Is there any function to check if the mouse button is pressed or not . MOUSEBUTTONDOWN doesn't work
if event.type == pygame.MOUSEBUTTONDOWN:
mouse_pos = event.pos
I have to release the button then press it again , then the code works . If I kept pressing the button it doesn't work
I want that if I kept pressing the button , the code still works