/Engine/Source/Editor/UnrealEd/Public/EditorModeManager.h
Allows you to temporarily override the widget mode. Call this function again withUE::Widget::WM_Noneto turn off the override.
void SetWidgetModeOverride ( [UE::Widget::EWidgetMode](API\Editor\EditorFramework\UE__Widget__EWidgetMode) InWidgetMode )