Garry's Mod Wiki

Revision Difference

GM:GUIMouseDoublePressed#518840

<function name="GUIMouseDoublePressed" parent="GM" type="hook"> <ishook>yes</ishook> <description> Called when the mouse has been double clicked on any panel derived from CGModBase, such as the panel used by <page>gui.EnableScreenClicker</page> and the panel used by <page>Panel:ParentToHUD</page>. By default this hook calls <page>GM:GUIMousePressed</page>. </description> <realm>Client</realm> <args> <arg name="mouseCode" type="number">The code of the mouse button pressed, see <page>MOUSE</page></arg>⤶ <arg name="mouseCode" type="number">The code of the mouse button pressed, see <page>Enums/MOUSE</page></arg>⤶ <arg name="aimVector" type="Vector">A normalized vector pointing in the direction the client has clicked</arg> </args> </function>