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: 61ms

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