Input

isrbxactive

<boolean> isrbxactive()

Returns whether the game's window is in focus. Must be true for other input functions to work.


mouse1click

<nil> mouse1click()

Dispatches a left mouse button click.


mouse1press

<nil> mouse1press()

Dispatches a left mouse button press.


mouse1release

<nil> mouse1release()

Dispatches a left mouse button release.


mouse2click

<nil> mouse2click()

Dispatches a right mouse button click.


mouse2press

<nil> mouse2press()

Dispatches a right mouse button press.


mouse2release

<nil> mouse2release()

Dispatches a right mouse button release.


mousemoveabs

<nil> mousemoveabs(<number> x, <number> y)

Moves the mouse cursor to the specified absolute position.


mousemoverel

<nil> mousemoverel(<number> x, <number> y)

Adjusts the mouse cursor by the specified relative amount.


mousescroll

<nil> mousescroll(<number> pixels)

Dispatches a mouse scroll by the specified number of pixels.


Last updated