FWidgetPath::MoveFocus

Move focus either forward on backward in the path level specified by PathLevel.

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Layout/WidgetPath.h

Include

#include "Layout/WidgetPath.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Layout/WidgetPath.cpp

Syntax

bool MoveFocus
(
    int32 PathLevel,
    EUINavigation NavigationType,
    bool bSearchFromPathWidget
)

Remarks

Move focus either forward on backward in the path level specified by PathLevel. That is, this movement of focus will modify the subtree under Widgets(PathLevel).

Returns

true if the focus moved successfully, false if we were unable to move focus

Parameters

Parameter

Description

PathLevel

The level in this WidgetPath whose focus to move.

MoveDirectin

Move focus forward or backward?

bSearchFromPathWidget

if set false the search for the next will simply start at the beginning or end of the list of children dependant on the direction

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