Move Cursor
Move device cursor to specified coordinate position.
Interface Description
Interface Type
mouseMoveParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
deviceId | string | ✅ | Device ID |
x | number | ✅ | Target X coordinate (pixels) |
y | number | ✅ | Target Y coordinate (pixels) |
Return Value
javascript
true // Returns true on successful operationBasic Usage
javascript
// Move cursor to coordinate (300, 400)
await apiInvoke('mouseMove', {
deviceId: 'P72578581E07',
x: 300,
y: 400
});