Documentation

UI::IsMouseHoveringRect

Function

bool UI::IsMouseHoveringRect(const vec2&in r_min, const vec2&in r_max, bool clip = true)

Returns true if the mouse is hovering the given bounding rect (in screen space). Clipped by current clipping settings, but disregarding of other consideration of focus/window ordering/popup-block.

vec2 r_min

vec2 r_max

bool clip

Returns bool