glass_scroll
Scroll the UI container at (x,y) by horizontal or vertical wheel notches, with optional modifier keys. Specify steps as notches, not pixels, to control zoom or distance.
Instructions
Scroll the container under (x,y) by horizontal/vertical wheel notches, optionally holding modifiers. Notches are not pixels. For 2+ known steps, use glass_do.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Window-relative anchor x; selects the container under the pointer. | |
| y | Yes | Window-relative anchor y. | |
| dx | No | Horizontal wheel notches, -100 through 100 (positive right, negative left); typically 1-5, not pixels. | |
| dy | No | Vertical wheel notches, -100 through 100 (positive down, negative up); typically 1-5. App determines distance/zoom. | |
| modifiers | No | Held modifiers, e.g. ["ctrl", "shift"]. |