mouseMove

abstract suspend fun mouseMove(x: Double, y: Double, steps: Int = 10, flash: Boolean = false)

Moves the mouse cursor to the specified \[x, y\] coordinates, optionally in multiple steps and with a flash effect.

Parameters

x

The target x coordinate.

y

The target y coordinate.

steps

The number of steps to move the mouse (default: 10). If less than 1, moves in a single step.

flash

If true, flashes the point at each step.