[Python] How can I detect if the user has double-clicked in pygame?

Discussão em 'Python' iniciado por Stack, Maio 11, 2025.

  1. Stack

    Stack Membro Participativo

    I know I can check if there was a left click

    event.type == pygame.MOUSEBUTTONDOWN and event.button == LEFT


    but how can I check if they double clicked? Also is there any way to check if the user moved the scroll wheel forward or backwards?

    Continue reading...

Compartilhe esta Página