This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

MouseCaptureController.HasMouseCapture

Declaration

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

Parameters

handler Event handler to check.

Returns

bool True if the handler captures the mouse.

Description

Checks if the event handler is capturing the mouse.