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

MouseCaptureController.IsMouseCaptured

Declaration

public static bool IsMouseCaptured();

Returns

bool Returns true if a handler is capturing the mouse, false otherwise.

Description

Checks if there is a handler capturing the mouse.