<!--
{
  "availability" : [
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSEvent/scrollingDeltaX",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSEvent(py)scrollingDeltaX"
  },
  "title" : "scrollingDeltaX"
}
-->

# scrollingDeltaX

The scroll wheel’s horizontal delta.

```
var scrollingDeltaX: CGFloat { get }
```

## Discussion

This is the preferred property for accessing [`NSScrollWheel`](/documentation/AppKit/NSScrollWheel) delta values. When [`hasPreciseScrollingDeltas`](/documentation/AppKit/NSEvent/hasPreciseScrollingDeltas) is <doc://com.apple.documentation/documentation/Swift/false>, your application may need to modify the raw value before using it.

---

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)