---
title: MoveCommandDirection
framework: swiftui
role: symbol
role_heading: Enumeration
path: swiftui/movecommanddirection
---

# MoveCommandDirection

Specifies the direction of an arrow key movement.

## Declaration

```swift
enum MoveCommandDirection
```

## Topics

### Getting move command directions

- [MoveCommandDirection.up](swiftui/movecommanddirection/up.md)
- [MoveCommandDirection.down](swiftui/movecommanddirection/down.md)
- [MoveCommandDirection.left](swiftui/movecommanddirection/left.md)
- [MoveCommandDirection.right](swiftui/movecommanddirection/right.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Responding to commands

- [onMoveCommand(perform:)](swiftui/view/onmovecommand(perform:).md)
- [onDeleteCommand(perform:)](swiftui/view/ondeletecommand(perform:).md)
- [pageCommand(value:in:step:)](swiftui/view/pagecommand(value:in:step:).md)
- [onExitCommand(perform:)](swiftui/view/onexitcommand(perform:).md)
- [onPlayPauseCommand(perform:)](swiftui/view/onplaypausecommand(perform:).md)
- [onCommand(_:perform:)](swiftui/view/oncommand(_:perform:).md)
