Panel.MouseCapture

From GMod Wiki

Jump to: navigation, search
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: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Panel.MouseCapture]Panel.MouseCapture [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionN/A
Used onNewerMissing.png
Code
LuaIco3.pngThis page needs an example to demonstrate the item detailed on this page. See how to make one here.
See more articles that need examples here.
OutputN/A
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox