Version: 2019.1
Experimental: this API is experimental and might be changed or removed in the future.

MouseCaptureController.ReleaseMouse

Switch to Manual
public static void ReleaseMouse (Experimental.UIElements.IEventHandler handler);
public static void ReleaseMouse ();

Parameters

handlerThe event handler to stop capturing the mouse. If this handler is not assigned to capturing the mouse, nothing happens.

Description

Stops an event handler from capturing the mouse.