---
title: horizontalScroller
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsscrollview/horizontalscroller
---

# horizontalScroller

The scroll view’s horizontal scroller.

## Declaration

```swift
var horizontalScroller: NSScroller? { get set }
```

## Discussion

Discussion The value of this property is nil if the scroll view has no horizontal scroller. You can access the horizontal scroller using this property even if the scroll view isn’t currently displaying it. To make sure the scroller is visible, set hasHorizontalScroller to true.

## See Also

### Managing Scrollers

- [hasHorizontalScroller](appkit/nsscrollview/hashorizontalscroller.md)
- [verticalScroller](appkit/nsscrollview/verticalscroller.md)
- [hasVerticalScroller](appkit/nsscrollview/hasverticalscroller.md)
- [autohidesScrollers](appkit/nsscrollview/autohidesscrollers.md)
