Garry's Mod Wiki

GM:VGUIMousePressAllowed

GM:VGUIMousePressAllowed

  boolean GM:VGUIMousePressAllowed( number button )

Description

Called when user clicks on a VGUI panel.

Arguments

1 number button
The button that was pressed, see Enums/MOUSE

Returns

1 boolean
Return true if the mouse click should be ignored or not.

Special Pages


Wikis

?

Render Time: 21ms

DB GetPage 2
Generate Html 3
SaveChanges (1) 5
Render Body 0
Render Sidebar 8