Garry's Mod Wiki

PANEL:OnMouseWheeled

  boolean PANEL:OnMouseWheeled( number scrollDelta )

Description

Called whenever the mouse wheel was used.

Arguments

1 number scrollDelta
The scroll delta, indicating how much the user turned the mouse wheel.

Returns

1 boolean
Return true to suppress default action.