SWidget::HasUserFocusedDescendants

Gets whether or not the specified users has this widget or any descendant focused.

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Widgets/SWidget.h

Include

#include "Widgets/SWidget.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Widgets/SWidget.cpp

Syntax

bool HasUserFocusedDescendants
(
    int32 UserIndex
) const

Remarks

Gets whether or not the specified users has this widget or any descendant focused.

Returns

The optional will be set with the focus cause, if unset this widget doesn't have focus.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss