/Engine/Source/Runtime/SlateCore/Public/Application/SlateApplicationBase.h
a pointer to the Widget that currently has the users focus; Empty pointer when the user has no focus.
[TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< [SWidget](API\Runtime\SlateCore\Widgets\SWidget) > GetUserFocusedWidget ( uint32 UserIndex ) const