Garry's Mod Wiki

Panel:EndBoxSelection

  boolean Panel:EndBoxSelection()

Description

Completes a box selection. If the end point of the selection box is within the selection canvas, mouse capture is disabled for the panel object, and the selected state of each child object within the selection box is toggled.

Returns

1 boolean
Whether the end point of the selection box was within the selection canvas.