# Scroll Control
**Warning:** This method is only enabled when Canvas Height is set to "Settable (Default: 800px)" in the [App Dashboard](https://developers.facebook.com/apps/).
The method **`FB.Canvas.scrollTo()`** causes the Facebook Canvas to scroll to a specific location of your app. This should be used in conjunction with [FB.Canvas.setSize()](https://developers.facebook.com/documentation/javascript/reference/FB.Canvas.setSize) and [FB.Canvas.setAutoGrow()](https://developers.facebook.com/documentation/javascript/reference/FB.Canvas.setAutoGrow).
## Examples {#examples}
To scroll to the top of the page you could use the following code:
```
FB.Canvas.scrollTo(0,0);
```
## Parameters {#params}
This function requires a `params` argument, which is an object with two properties:
| Property | Type | Description | Argument |
| --- | --- | --- | --- |
| x | `integer` | Horizontal scroll position. | *Required* |
| y | `integer` | Vertical scroll position. | *Required* |