<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSView/scroll(_:to:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSView(im)scrollClipView:toPoint:"
  },
  "title" : "scroll(_:to:)"
}
-->

# scroll(_:to:)

Notifies the superview of a clip view that the clip view needs to reset the origin of its bounds rectangle.

```
func scroll(_ clipView: NSClipView, to point: NSPoint)
```

## Parameters

`clipView`

The [`NSClipView`](/documentation/AppKit/NSClipView) object whose superview is to be notified.

`point`

A point that specifies the new origin of the clip view’s bounds rectangle.

## Discussion

The superview of `clipView` should then send a [`scroll(to:)`](/documentation/AppKit/NSClipView/scroll(to:)) message to `clipView` with `point` as the argument. This mechanism is provided so the `NSClipView` object’s superview can coordinate scrolling of multiple tiled clip views.

## See Also

[`scroll(to:)`](/documentation/AppKit/NSClipView/scroll(to:))

Changes the origin of the clip view’s bounds rectangle to `newOrigin`.



---

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)