Garry's Mod Wiki

Garry's Mod Wiki

  GM:GUIMouseDoublePressed( number mouseCode, Vector aimVector )

Description

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.

Arguments

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

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 twice a day. Edits and history are not available.

Last Parsed: Loading...