Learn R Programming

rMouse (version 0.1)

move: Move Mouse Cursor to Pixel(x,y)

Description

Moves the mouse cursor to the specified pixel. Top left corner of screen is pixel(0,0).

Usage

move(x, y, failSafe = TRUE)

Arguments

x

horizontal coordinate as integer.

y

vertical coordinate as integer.

failSafe

Logical flag to allow for emergency stops. Default is TRUE.

See Also

delay, left, right, pos, record

Examples

Run this code

move(50, 50)
delay(1000)
move(364, 200)

Run the code above in your browser using DataLab