Input Library
Sending synthetic mouse and keyboard input to the client window.
isrbxactiveReturns a boolean indicating whether roblox is currently in focus.mouse1clickSimulate a left mouse click. The click will only be simulated if Roblox's currently active or in focus.mouse1pressSimulate a left mouse press. The left mouse press will only be simulated if Roblox's currently active or in focus.mouse1releaseSimulate a left mouse release. The left mouse will only be released (simulated) if Roblox's currently active or in focus.mouse2clickSimulate a right mouse click. The click will only be simulated if Roblox's currently active or in focus.mouse2pressSimulate a right mouse press. The right mouse press will only be simulated if Roblox's currently active or in focus.mouse2releaseSimulate a right mouse release. The right mouse will only be released (simulated) if Roblox's currently active or in focus.mousemoveabsSimulate a mouse movement. This movement is not relative to the current mouse's position. The mouse will only be moved if Roblox's currently active or in focus.mousemoverelSimulate a mouse movement. This movement is relative to the current mouse's position. The mouse will only be moved if Roblox's currently active or in focus.mousescrollSimulate a mouse scroll. The mouse will only scroll if Roblox's currently active or in focus.keypressSimulate a key being pressed. The key press will only be simulated if Roblox's currently active or in focus.keyreleaseSimulate a key being released. The key release will only be simulated if Roblox's currently active or in focus.keytapSimulate a key being pressed and released. The key tap will only be simulated if Roblox's currently active or in focus.