Layer.releaseCapture

Function/Meaning
Release mouse event capture
Type
Method of Layer class
Syntax
releaseCapture()
Arguments
None
Return Value
None (void)
Description
Releases the mouse event capture.
Mouse event capture is a feature where mouse events are sent exclusively to the layer where the mouse button was first pressed until the button is released.
This method releases this feature and returns the mouse event processing to its normal state.
When this method is executed, the mouse capture for layers belonging to the same window is released, even if the layer executing the method is different from the layer currently being captured.
This method does nothing if the system is not in a captured state.