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

MouseCaptureController.HasMouseCapture

Switch to Manual
public static bool HasMouseCapture (Experimental.UIElements.IEventHandler handler);

Parameters

handlerEvent handler to check.

Returns

bool True if the handler captures the mouse.

Description

Checks if the event handler is capturing the mouse.