---
title: scrollingDeltaY
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsevent/scrollingdeltay
---

# scrollingDeltaY

The scroll wheel’s vertical delta.

## Declaration

```swift
var scrollingDeltaY: CGFloat { get }
```

## Discussion

Discussion This is the preferred property for accessing NSScrollWheel delta values. When hasPreciseScrollingDeltas is false, multiply the value returned by this method by the line or row height. Otherwise scroll by the returned amount.

## See Also

### Getting scroll wheel and flick events

- [deltaX](appkit/nsevent/deltax.md)
- [deltaY](appkit/nsevent/deltay.md)
- [deltaZ](appkit/nsevent/deltaz.md)
- [hasPreciseScrollingDeltas](appkit/nsevent/hasprecisescrollingdeltas.md)
- [scrollingDeltaX](appkit/nsevent/scrollingdeltax.md)
- [momentumPhase](appkit/nsevent/momentumphase.md)
- [isDirectionInvertedFromDevice](appkit/nsevent/isdirectioninvertedfromdevice.md)
