API Reference > imodeljs-frontend > Views > Viewport > scroll scroll Method Scroll the view by a given number of pixels. scroll(screenDist: XAndY, options?: ViewChangeOptions): void Parameter Type Description screenDist XAndY distance to scroll, in pixels options ViewChangeOptions Returns - void Defined in core/frontend/src/Viewport.ts Line 1643 Last Updated: 13 June, 2024