<!--
{
  "availability" : [
    "macOS: 10.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSEvent/EventType/gesture",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSEventType@NSEventTypeGesture"
  },
  "title" : "NSEvent.EventType.gesture"
}
-->

# NSEvent.EventType.gesture

The user performed a nonspecific type of gesture.

```
case gesture
```

## Discussion

[`NSEvent.EventType.gesture`](/documentation/AppKit/NSEvent/EventType/gesture) represents a gesture that is not otherwise specified by a type such as [`NSEvent.EventType.magnify`](/documentation/AppKit/NSEvent/EventType/magnify), [`NSEvent.EventType.swipe`](/documentation/AppKit/NSEvent/EventType/swipe), [`NSEvent.EventType.rotate`](/documentation/AppKit/NSEvent/EventType/rotate), [`NSEvent.EventType.beginGesture`](/documentation/AppKit/NSEvent/EventType/beginGesture), or [`NSEvent.EventType.endGesture`](/documentation/AppKit/NSEvent/EventType/endGesture)

---

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)