---
title: "scroll(to:at:animated:)"
framework: watchkit
role: symbol
role_heading: Instance Method
path: "watchkit/wkinterfacecontroller/scroll(to:at:animated:)"
---

# scroll(to:at:animated:)

Scrolls the specified object to the given position onscreen.

## Declaration

```swift
func scroll(to object: WKInterfaceObject, at scrollPosition: WKInterfaceScrollPosition, animated: Bool)
```

## Parameters

- `object`: The interface object to scroll to.
- `scrollPosition`: The specified object’s desired position on the screen.
- `animated`: A Boolean value that determines whether the scroll action is animated.

## See Also

### Managing Scrolling

- [WKInterfaceScrollPosition](watchkit/wkinterfacescrollposition.md)
- [interfaceDidScrollToTop()](watchkit/wkinterfacecontroller/interfacedidscrolltotop().md)
- [interfaceOffsetDidScrollToTop()](watchkit/wkinterfacecontroller/interfaceoffsetdidscrolltotop().md)
- [interfaceOffsetDidScrollToBottom()](watchkit/wkinterfacecontroller/interfaceoffsetdidscrolltobottom().md)
- [isTableScrollingHapticFeedbackEnabled](watchkit/wkinterfacecontroller/istablescrollinghapticfeedbackenabled.md)
