Test whether a mouse button was newly pressed this frame, without repeating while held.
button
ImGuiMouseButton index: 0 left, 1 right, 2 middle.
True if the mouse button was pressed this frame, including repeat events if requested; false otherwise.
did mouse button clicked?
(went from !Down to Down).
Same as GetMouseClickedCount() == 1.
Implied repeat = false
Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0
Test whether a mouse button was newly pressed this frame, without repeating while held.