API reference
Preparing search index…

ImGui.IsMouseHoveringRect

  • Test mouse overlap with a screen-space rectangle under current clipping, ignoring window order.

    Parameters

    r_min

    Top-left corner of the rectangle in absolute screen coordinates.

    r_max

    Bottom-right corner of the rectangle in absolute screen coordinates.

    Returns

    boolean

    True if the mouse lies inside the screen rectangle, optionally intersected with the current clip rectangle; false otherwise.

    is mouse hovering given bounding rect (in screen space).

    clipped by current clipping settings, but disregarding of other consideration of focus/window ordering/popup-block.

    Implied clip = true

    Source & inheritance

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