Garry's Mod Wiki

Panel:IsHovered

Panel:IsHovered

boolean 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

1 boolean
true if the panel is hovered

Special Pages


Wikis

?

Render Time: 20ms

DB GetPage 3
Generate Html 3
SaveChanges (1) 6
Render Body 0
Render Sidebar 6