/Engine/Source/Runtime/SlateCore/Public/Application/SlateApplicationBase.h
Gets the widget that currently has keyboard focus, if any.
The focused widget, or nullptr if no widget has focus.
[TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< [SWidget](API\Runtime\SlateCore\Widgets\SWidget) > GetKeyboardFocusedWidget() const