---
title: NSEvent.GestureAxis
framework: appkit
role: symbol
role_heading: Enumeration
path: appkit/nsevent/gestureaxis
---

# NSEvent.GestureAxis

Constants that specify the direction of travel for a gesture.

## Declaration

```swift
enum GestureAxis
```

## Topics

### Getting the Axis

- [NSEvent.GestureAxis.none](appkit/nsevent/gestureaxis/none.md)
- [NSEvent.GestureAxis.horizontal](appkit/nsevent/gestureaxis/horizontal.md)
- [NSEvent.GestureAxis.vertical](appkit/nsevent/gestureaxis/vertical.md)

### Initializers

- [init(rawValue:)](appkit/nsevent/gestureaxis/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Getting gesture and touch information

- [phase](appkit/nsevent/phase-swift.property.md)
- [NSEvent.Phase](appkit/nsevent/phase-swift.struct.md)
- [magnification](appkit/nsevent/magnification.md)
- [touches(matching:in:)](appkit/nsevent/touches(matching:in:).md)
- [allTouches()](appkit/nsevent/alltouches().md)
- [touches(for:)](appkit/nsevent/touches(for:).md)
- [coalescedTouches(for:)](appkit/nsevent/coalescedtouches(for:).md)
- [isMouseCoalescingEnabled](appkit/nsevent/ismousecoalescingenabled.md)
