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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback