---
title: "Scroll the mouse wheel at a position on the host computer"
method: POST
path: "/computer/scroll"
---

# Scroll the mouse wheel at a position on the host computer

`POST /computer/scroll`

Scroll vertically and/or horizontally at the given coordinates, optionally while holding modifier keys.
The scroll amounts are in logical ticks (not pixels) and application behavior may vary; tuning may be required.
When both horizontal and vertical deltas are provided, the server applies them sequentially (vertical then horizontal)
and batches wheel events using `xdotool click --repeat N --delay 0 <button>`.

## Request body

- ScrollRequest
  - `x` integer, required — X coordinate at which to perform the scroll
  - `y` integer, required — Y coordinate at which to perform the scroll
  - `delta_x` integer — Horizontal scroll amount. Positive scrolls right, negative scrolls left.
  - `delta_y` integer — Vertical scroll amount. Positive scrolls down, negative scrolls up.
  - `hold_keys` string[] — Modifier keys to hold during the scroll

## Response `200`

Scroll performed

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

## Changes

> 52 revisions in range; 4 could not be searched.

- **2025-10-16** `5ba7ffc94918` — 1 info
  - endpoint added
- **2025-06-27** `f980a92ab23f` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/kernel/apis/kernel-images-api/changes/computer/scroll/post.md)

---

[API](https://skmtc.dev/kernel/apis/kernel-images-api.md) · [All operations](https://skmtc.dev/kernel/apis/kernel-images-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kernel/kernel-images-api/revisions/7a641fa15a85/schema)
