Garry's Mod Wiki

Revision Difference

PANEL:OnMouseWheeled#511049

<function name="OnMouseWheeled" parent="PANEL" type="hook">⤶ <ishook>yes</ishook>⤶ <description>Called whenever the mouse wheel was used.</description>⤶ <realm>Client</realm>⤶ <predicted>No</predicted>⤶ <args>⤶ <arg name="scrollDelta" type="number">The scroll delta, indicating how much the user turned the mouse wheel.</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="boolean">Return true to suppress default action.</ret>⤶ </rets>⤶ </function>⤶ ⤶