Garry's Mod Wiki

Player:GetHoveredWidget

  Entity Player:GetHoveredWidget()

Description

Returns the widget the player is hovering with their mouse.

Returns

1 Entity
The hovered widget.