Panel/IsChildHovered

From Garry's Mod
Jump to: navigation, search
 Panel:IsChildHovered( )

Description

Determines whether the mouse cursor is hovered over one of this panel object's children. This is a reverse process using vgui.GetHoveredPanel, and looks upward to find the parent.

Arguments

boolean immediate=false

Set to true to check only the immediate children of given panel ( first level )

Returns

boolean

Whether or not one of this panel object's children is being hovered over.
Personal tools
Navigation