API Reference
Input Library
Sending synthetic mouse and keyboard input to the client window.
isrbxactive(): booleanReturns whether the client window is focused.
mouse1click(): ()Presses and releases the left mouse button.
mouse1press(): ()Presses the left mouse button.
mouse1release(): ()Releases the left mouse button.
mouse2click(): ()Presses and releases the right mouse button.
mouse2press(): ()Presses the right mouse button.
mouse2release(): ()Releases the right mouse button.
mousemoveabs(x: number, y: number): ()Moves the cursor to a position in the window.
mousemoverel(x: number, y: number): ()Moves the cursor by an offset.
mousescroll(pixels: number): ()Scrolls the mouse wheel.
keypress(keycode: number): ()Presses a key by virtual key code.
keyrelease(keycode: number): ()Releases a key by virtual key code.