Garry's Mod Wiki

Revision Difference

Panel:IsHovered#550804

<function name="IsHovered" parent="Panel" type="classfunc"> <description> Returns whether the mouse cursor is hovering over this panel or not Uses <page>vgui.GetHoveredPanel</page> internally. Requires <page>Panel:SetMouseInputEnabled</page> to be set to true. </description> <realm>Client</realm>⤶ <realm>Client and Menu</realm>⤶ <rets> <ret name="" type="boolean">true if the panel is hovered</ret> </rets> </function>