UWidget::SetAllNavigationRules

Sets the widget navigation rules for all directions.

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 SetAllNavigationRules
(
    EUINavigationRule Rule,
    FName WidgetToFocus
)

Remarks

Sets the widget navigation rules for all directions. This can only be called on widgets that are in a widget tree.

Parameters

Parameter

Description

Rule

The rule to use when navigation is taking place

WidgetToFocus

When using the Explicit rule, focus on this widget

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