API reference
Preparing search index…

ImGui.IsItemHovered

  • Test whether the last item is hovered.

    Parameters

    flags
    number = 0

    ImGuiHoveredFlags options controlling this operation; combine compatible flag bits with |.

    Returns

    boolean

    True if the last submitted item is hovered under the requested hover policy; false otherwise.

    • Most of the functions are referring to the previous Item that has been submitted.

    • See Demo Window under "Widgets->Querying Status" for an interactive visualization of most of those functions.

    is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options.

    Source & inheritance

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