> ## Documentation Index
> Fetch the complete documentation index at: https://docs.alterhq.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 滚动

> 滚动计算机使用流程中的活动应用程序窗口

当目标内容位于当前视口之外时使用滚动。

## 它的作用

* 在最前面的应用程序窗口中滚动。
* 支持方向：`up`、`down`、`left`、`right`。
* 运行一段时间。

## 输入

* `seconds`（可选）：滚动持续时间（默认 3，最大 3600）。
* `direction`（可选）：`up`、`down`、`left` 或 `right`（默认 `down`）。

## 典型用途

* 在调用 Perform 之前将隐藏的元素带入视图。
* 使用“获取活动应用程序上下文”重新阅读之前继续页面遍历。

## 良好的配对

* [获取活动应用程序上下文](/apps-tools/computer-use-get-active-app-context)
* [执行](/apps-tools/computer-use-perform)
* [等等](/apps-tools/computer-use-wait)
