---
title: "Move the mouse cursor to the specified coordinates on the browser instance"
method: POST
path: "/browsers/{id}/computer/move_mouse"
tags: ["Browser Computer Controls"]
---

# Move the mouse cursor to the specified coordinates on the browser instance

`POST /browsers/{id}/computer/move_mouse`

## Path parameters

- `id` string, required

## Request body

- MoveMouseRequest
  - `x` integer, required — X coordinate to move the cursor to
  - `y` integer, required — Y coordinate to move the cursor to
  - `hold_keys` string[] — Modifier keys to hold during the move
  - `smooth` boolean — Use human-like Bezier curve path instead of instant mouse movement.
  - `duration_ms` integer — Target total duration in milliseconds for the mouse movement when smooth=true. Omit for automatic timing based on distance.

## Response `200`

Mouse cursor moved

## Other responses

- `400` — Bad Request – invalid input
- `404` — Resource not found
- `500` — Internal Server Error

---

[API](https://skmtc.net/kernel/apis/kernel-api.md) · [All operations](https://skmtc.net/kernel/apis/kernel-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kernel/kernel-api/versions/9e8ce9fcf5e1/schema)
