---
title: disablesDirectTouchSystemGestures
framework: AppKit
role: symbol
role_heading: Instance Property
platforms: [macOS 27.3+]
path: appkit/nswindow/disablesdirecttouchsystemgestures
---

# disablesDirectTouchSystemGestures

Disables direct-touch system gestures when this window is visible.

## Declaration

```swift
var disablesDirectTouchSystemGestures: Bool { get set }
```

## Mentioned in

Adopting gesture recognizers in your app

## Discussion

Discussion Defaults to false.

## See Also

### Handling Events

- [currentEvent](appkit/nswindow/currentevent.md)
- [nextEvent(matching:)](appkit/nswindow/nextevent(matching:).md)
- [nextEvent(matching:until:inMode:dequeue:)](appkit/nswindow/nextevent(matching:until:inmode:dequeue:).md)
- [discardEvents(matching:before:)](appkit/nswindow/discardevents(matching:before:).md)
- [postEvent(_:atStart:)](appkit/nswindow/postevent(_:atstart:).md)
- [sendEvent(_:)](appkit/nswindow/sendevent(_:).md)
- [tryToPerform(_:with:)](appkit/nswindow/trytoperform(_:with:).md)
