Panel/IsHovered

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

Description

Returns whether the mouse cursor is hovering over this panel or not

Uses vgui.GetHoveredPanel internally.

Requires Panel:SetMouseInputEnabled to be set to true.

Returns

boolean

true if the panel is hovered
Personal tools
Navigation