Garry's Mod Wiki

Revision Difference

Panel:IsChildHovered#510983

<function name="IsChildHovered" parent="Panel" type="classfunc">⤶ <description>Determines whether the mouse cursor is hovered over one of this panel object's children. This is a reverse process using <page>vgui.GetHoveredPanel</page>, and looks upward to find the parent.</description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="immediate" type="boolean" default="false">Set to true to check only the immediate children of given panel ( first level )</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="boolean">Whether or not one of this panel object's children is being hovered over.</ret>⤶ </rets>⤶ </function>⤶ ⤶