Garry's Mod Wiki

Garry's Mod Wiki

  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 their weapon to allow input to be passed onto the widget.

Arguments

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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...