Garry's Mod Wiki

Revision Difference

Player:SetPressedWidget#512448

<function name="SetPressedWidget" parent="Player" type="classfunc">⤶ <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.⤶ </description>⤶ <realm>Shared</realm>⤶ <args>⤶ <arg name="pressedWidget" type="Entity" default="NULL">The widget the player is currently using.</arg>⤶ </args>⤶ </function>⤶ ⤶