Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Components > API/Runtime/UMG/Components/UWidget
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 |
void SetNavigationRuleBase
&40;
EUINavigation Direction,
EUINavigationRule Rule
&41;
Remarks
Sets the widget navigation rules for a specific direction. This can only be called on widgets that are in a widget tree. This works only for non Explicit, non Custom and non CustomBoundary Rules.
Parameters
| Name | Description |
|---|---|
| Direction | |
| Rule | The rule to use when navigation is taking place |