---
title: horizontalLineScroll
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsscrollview/horizontallinescroll
---

# horizontalLineScroll

The scroll view’s horizontal line by line scroll amount.

## Declaration

```swift
var horizontalLineScroll: CGFloat { get set }
```

## Discussion

Discussion The value of this property is the amount by which the scroll view scrolls itself horizontally when scrolling line by line, expressed in the content view’s coordinate system. This value is used when the user clicks the scroll arrows on the horizontal scroll bar without holding down a modifier key.

## See Also

### Setting Scrolling Behavior

- [lineScroll](appkit/nsscrollview/linescroll.md)
- [verticalLineScroll](appkit/nsscrollview/verticallinescroll.md)
- [pageScroll](appkit/nsscrollview/pagescroll.md)
- [horizontalPageScroll](appkit/nsscrollview/horizontalpagescroll.md)
- [verticalPageScroll](appkit/nsscrollview/verticalpagescroll.md)
- [scrollsDynamically](appkit/nsscrollview/scrollsdynamically.md)
- [scrollWheel(with:)](appkit/nsscrollview/scrollwheel(with:).md)
