/Engine/Source/Editor/UnrealEd/Public/EditorModeManager.h
Retrieves the current widget mode, taking overrides into account.
[UE::Widget::EWidgetMode](API\Editor\EditorFramework\UE__Widget__EWidgetMode) GetWidgetMode() const