Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/FWidgetPath
Description
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).
| Name | MoveFocus |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/WidgetPath.h |
| Include Path | #include "Layout/WidgetPath.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Layout/WidgetPath.cpp |
bool MoveFocus
(
int32 PathLevel,
EUINavigation NavigationType,
bool bSearchFromPathWidget
)
true if the focus moved successfully, false if we were unable to move focus
Parameters
| Name | Remarks |
|---|---|
| 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 |