Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Widgets/SWidget.h |
Include |
#include "Widgets/SWidget.h" |
Source |
/Engine/Source/Runtime/SlateCore/Private/Widgets/SWidget.cpp |
TOptional< EFocusCause > HasAnyUserFocus() const
Gets whether or not any users have this widget focused, and if so the type of focus (first one found).
The optional will be set with the focus cause, if unset this widget doesn't have focus.