Garry's Mod Wiki

Panel:MouseCapture

  Panel:MouseCapture( boolean doCapture )

Description

Allows the panel to receive mouse input even if the mouse cursor is outside the bounds of the panel.

Arguments

1 boolean doCapture
Set to true to enable, set to false to disable.