Player/SetPressedWidget

From Garry's Mod
Jump to: navigation, search
 Player:SetPressedWidget( )

Description

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

Having a pressed widget stops the player from firing his weapon to allow input to be passed onto the widget.

Arguments

Entity pressedWidget=NULL

The widget the player is currently using.
Personal tools
Navigation