---
title: "scroll(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsview/scroll(_:)"
---

# scroll(_:)

Scrolls the view’s closest ancestor NSClipView object so a point in the view lies at the origin of the clip view’s bounds rectangle.

## Declaration

```swift
func scroll(_ point: NSPoint)
```

## Parameters

- `point`: The point in the view to scroll to.

## See Also

### Related Documentation

- [scroll(to:)](appkit/nsclipview/scroll(to:).md)
- [isDescendant(of:)](appkit/nsview/isdescendant(of:).md)

### Scrolling the View

- [prepareContent(in:)](appkit/nsview/preparecontent(in:).md)
- [preparedContentRect](appkit/nsview/preparedcontentrect.md)
- [scrollToVisible(_:)](appkit/nsview/scrolltovisible(_:).md)
- [autoscroll(with:)](appkit/nsview/autoscroll(with:).md)
- [adjustScroll(_:)](appkit/nsview/adjustscroll(_:).md)
- [enclosingScrollView](appkit/nsview/enclosingscrollview.md)
- [scroll(_:to:)](appkit/nsview/scroll(_:to:).md)
- [reflectScrolledClipView(_:)](appkit/nsview/reflectscrolledclipview(_:).md)
- [isCompatibleWithResponsiveScrolling](appkit/nsview/iscompatiblewithresponsivescrolling.md)
