UWidget::SetUserFocus

Sets the focus to this widget for a specific user (if setting focus for the owning user, prefer [SetFocus()](API\Runtime\UMG\Components\UWidget\SetFocus))

Windows
MacOS
Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Components/Widget.h

Include

#include "Components/Widget.h"

Source

/Engine/Source/Runtime/UMG/Private/Components/Widget.cpp

Syntax

void SetUserFocus
(
    APlayerController * PlayerController
)

Remarks

Sets the focus to this widget for a specific user (if setting focus for the owning user, prefer SetFocus())

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