Garry's Mod Wiki

Player:SetPressedWidget

Player:SetPressedWidget

  Player:SetPressedWidget( Entity pressedWidget = NULL )

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

1 Entity pressedWidget = NULL
The widget the player is currently using.

Special Pages


Wikis

?

Render Time: 65ms

DB GetPage 47
Generate Html 2
SaveChanges (1) 7
Render Body 0
Render Sidebar 7