Revision Difference
GM:GUIMouseReleased#563724
<function name="GUIMouseReleased" parent="GM" type="hook">
<description>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 <page>gui.EnableScreenClicker</page> and the panel used by <page>Panel:ParentToHUD</page>.</description>
<realm>Client</realm>
<file line="688-L689">gamemodes/base/gamemode/cl_init.lua</file>⤶
<args>
<arg name="mouseCode" type="number">The key the player released, see <page>Enums/MOUSE</page></arg>
<arg name="aimVector" type="Vector">A normalized direction vector local to the camera. Internally this is <page>gui.ScreenToVector</page>( <page>gui.MousePos</page>() ).</arg>
</args>
</function>