---
name: GuiNavigationDirection
last_updated: 2026-11-05T23:50:28Z
type: enum
summary: "The possible ways in which the gui navigation can be moved."
---

# GuiNavigationDirection

The possible ways in which the gui navigation can be moved.

**Type:** enum

## Description

Used to denote how the gui navigation selection changes. Currently only used
in the parameter of `GuiObject.SelectionGained` and `GuiObject.SelectionLost`.

## Items

| Name | Value | Description |
|------|-------|-------------|
| `None` | 0 | No direction. Used when no direction applies to the selection changing (e.g. if modified by a script). |
| `Up` | 1 | The up direction (negative `Y` in the viewport) in directional navigation. |
| `Down` | 2 | The down direction (positive `Y` in the viewport) in directional navigation. |
| `Left` | 3 | The down direction (negative `X` in the viewport) in directional navigation. |
| `Right` | 4 | The right direction (positive `X` in the viewport) in directional navigation. |
| `Forward` | 5 | The forward direction in sequential navigation. |
| `Backward` | 6 | The backward direction in sequential navigation. |