scroll
Scroll the view in the specified direction at the cursor position. Adjust the number of scroll ticks for precise movement.
Instructions
Scroll at the current cursor position.
Move the cursor to the target area first with mouse_move(),
then call scroll().
Args:
direction: One of "up", "down", "left", "right".
amount: Number of scroll ticks (default 3).Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| direction | Yes | ||
| amount | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |