PANEL/OnMousePressed

From Garry's Mod
Jump to: navigation, search
 PANEL:OnMousePressed( )

Description

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

Arguments

number keyCode

They key code of the key pressed, see MOUSE_ Enums.

Returns

boolean

Return true to suppress default action such as right click opening edit menu for DTextEntry.
Personal tools
Navigation