Function InputEventMouse.wasButtonJustClicked

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

bool wasButtonJustClicked (
  MouseButton button
) @property const;