/Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h
Gets whether or not a widget has captured the mouse.
True if one or more widgets have capture, otherwise false.
virtual bool HasAnyMouseCaptor() const