Garry's Mod Wiki

PANEL:OnMouseReleased

  boolean PANEL:OnMouseReleased( number keyCode )

Description

Called whenever a mouse key was released while the panel is focused.

Arguments

1 number keyCode
They key code of the key released, see MOUSE enum.

Returns

1 boolean
Return true to suppress default action.