Panel.MouseCapture
From GMod Wiki
| Function | |
| Syntax | Panel:MouseCapture( Boolean ShouldTrap ) |
| Description: | |
| While a mouse capture is enabled on this panel, any mouse events (such as OnMousePressed and OnMouseReleased, and OnMouseWheeled) will occur on this panel, even if the mouse has moved outside of the panel's content area. | |
| Returns: | nil |
| In Object: | Panel |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Panel.MouseCapture]Panel.MouseCapture [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | N/A | ||
|---|---|---|---|
| Used on | |||
| Code |
| ||
| Output | N/A |