<!--
{
  "availability" : [
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSEvent/GestureAxis",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSEventGestureAxis"
  },
  "title" : "NSEvent.GestureAxis"
}
-->

# NSEvent.GestureAxis

Constants that specify the direction of travel for a gesture.

```
enum GestureAxis
```

## Topics

### Getting the Axis

[`NSEvent.GestureAxis.none`](/documentation/AppKit/NSEvent/GestureAxis/none)

No specific axis.

[`NSEvent.GestureAxis.horizontal`](/documentation/AppKit/NSEvent/GestureAxis/horizontal)

The horizontal axis.

[`NSEvent.GestureAxis.vertical`](/documentation/AppKit/NSEvent/GestureAxis/vertical)

The vertical axis.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)