Learn R Programming

FourScores (version 1.5.1)

clickingXY: check input

Description

a function to check the mouse click input by the user

Usage

clickingXY(buttons, x, y)

Arguments

buttons

the mouse buttons input.

x

the x-value of the mouse button.

y

the y-value of the mouse button.

Value

a Vector of the x and y coordinates of the mouse click