Garry's Mod Wiki

Revision Difference

PANEL:OnKeyCodeReleased#511052

<function name="OnKeyCodeReleased" parent="PANEL" type="hook">⤶ <ishook>yes</ishook>⤶ <description>⤶ Called whenever a keyboard key was released while the panel is focused.⤶ ⤶ <bug issue="2886">This is not run for TILDE/"toggleconsole" binding.</bug>⤶ </description>⤶ <realm>Client</realm>⤶ <predicted>No</predicted>⤶ <args>⤶ <arg name="keyCode" type="number">The key code of the released key, see &lt;page&gt;KEY&lt;/page&gt;.</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="boolean">Return true to suppress default action.</ret>⤶ </rets>⤶ </function>⤶ ⤶