Learn R Programming

KeyboardSimulator (version 2.0)

mouse.move: Move Cursor to Specific Location

Description

Move cursor to specific coordinate of screen .

Usage

mouse.move(x, y)

Arguments

x

numeric. X-axis of screen.

y

numeric. Y-axis of screen.

Examples

Run this code
# NOT RUN {
# Move cursor to middle of screen in 1080FHD monitor
mouse.move(x=960,y=540)
# }

Run the code above in your browser using DataLab