Garry's Mod Wiki

Revision Difference

PANEL:OnMouseReleased#518821

<function name="OnMouseReleased" parent="PANEL" type="hook"> <ishook>yes</ishook> <description>Called whenever a mouse key was released while the panel is focused.</description> <realm>Client</realm> <predicted>No</predicted> <args> <arg name="keyCode" type="number">They key code of the key released, see <page>MOUSE</page>.</arg> <arg name="keyCode" type="number">They key code of the key released, see <page>Enums/MOUSE</page>.</arg> </args> <rets> <ret name="" type="boolean">Return true to suppress default action.</ret> </rets> </function>