Function InputEventMouse.wasButtonJustPressed
Whether the given button was just pressed, i.e. it's last state was unpressed and is now pressed.
Whether the given button was just pressed, i.e. it's last state was unpressed and is now pressed.