Garry's Mod Wiki

Revision Difference

Panel:IsHovered#510938

<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>⤶ <rets>⤶ <ret name="" type="boolean">true if the panel is hovered</ret>⤶ </rets>⤶ </function>⤶ ⤶