Garry's Mod Wiki


GM:GUIMouseReleased( number mouseCode, Vector aimVector )


Called whenever a players releases a mouse key on the context menu in Sandbox or on any panel derived from CGModBase, such as the panel used by gui.EnableScreenClicker and the panel used by Panel:ParentToHUD.


1 number mouseCode
The key the player released, see Enums/MOUSE
2 Vector aimVector
A normalized direction vector local to the camera. Internally this is gui.ScreenToVector( gui.MousePos() ).

Page Links

Special Pages



Render Time: 96ms

DB GetPage 49
Generate Html 5
SaveChanges (1) 28
Render Body 0
Render Sidebar 12