Garry's Mod Wiki


GM:GUIMouseDoublePressed( number mouseCode, Vector aimVector )


Called when the mouse has been double clicked on any panel derived from CGModBase, such as the panel used by gui.EnableScreenClicker and the panel used by Panel:ParentToHUD.

By default this hook calls GM:GUIMousePressed.


1 number mouseCode
The code of the mouse button pressed, see Enums/MOUSE
2 Vector aimVector
A normalized vector pointing in the direction the client has clicked

Page Links

Special Pages



Render Time: 85ms

DB GetPage 53
Generate Html 9
SaveChanges (1) 9
Render Body 0
Render Sidebar 12