API reference
Preparing search index…

ImGui.IsMouseClickedEx

  • Test whether a mouse button was clicked.

    Parameters

    button
    number

    ImGuiMouseButton index: 0 left, 1 right, 2 middle.

    repeat
    boolean = false

    Whether holding the key or button generates repeated activations using ImGui repeat timing.

    Returns

    boolean

    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.

    Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0