Garry's Mod Wiki

Player:SetHoveredWidget

  Player:SetHoveredWidget( Entity widget = NULL )

Description

Sets the widget that is currently hovered by the player's mouse.

Arguments

1 Entity widget = NULL
The widget entity that the player is hovering.