/Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/GenericApplication.h
true if the system cursor is currently directly over a slate window.
virtual bool IsCursorDirectlyOverSlateWindow() const