API reference
Preparing search index…

ImGui.IsMouseDoubleClicked

  • Test whether a mouse button was double-clicked.

    Parameters

    button
    number

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

    Returns

    boolean

    True if the mouse button generated a double-click this frame; false otherwise.

    did mouse button double-clicked?

    Same as GetMouseClickedCount() == 2.

    (note that a double-click will also report IsMouseClicked() == true)

    Source & inheritance

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