Open keyclick

Reference

Input

Keyboard and mouse events, and window focus.

13 functions
FunctionSummary
iswindowactiveisgameactiveisrbxactiveis_game_active+2Reports whether the current game window has input focus.
keyclickkeytapkey_clickkey_tapQueues a key-down followed by a key-up event for the game.
keypresskey_pressQueues a key-down event for the game.
keyreleasekey_releaseQueues a key-up event for the game.
mouse1clickmouse_1_clickQueues a press and release of the left mouse button.
mouse1pressmouse_1_pressQueues a held press of the left mouse button.
mouse1releasemouse_1_releaseQueues a release of the left mouse button.
mouse2clickmouse_2_clickQueues a press and release of the right mouse button.
mouse2pressmouse_2_pressQueues a held press of the right mouse button.
mouse2releasemouse_2_releaseQueues a release of the right mouse button.
mousemoveabsmouse_move_absMoves the game pointer to an absolute game-window position.
mousemoverelmouse_move_relMoves the game pointer by a relative offset.
mousescrollmouse_scrollQueues a mouse-wheel event for the game.