Category

Input

Keyboard and mouse input events.

Category guide

Overview

Use this overview to understand the category before opening a specific function.
  • See what this group of functions is meant to solve.
  • Compare function names and descriptions in one table.
  • Open a function for syntax, arguments, returns, and examples.

Input

Available functions

13 functions
FunctionDescription
isrbxactiveReturns whether the current foreground window is the Roblox window found by Real.
keyclickSends a key down event followed by a key up event when the Roblox window is active.
keypressSends a key down event when the Roblox window is active.
keyreleaseSends a key up event when the Roblox window is active.
mouse1clickSends a left mouse down and left mouse up event when the Roblox window is active.
mouse1pressSends a left mouse down event when the Roblox window is active.
mouse1releaseSends a left mouse up event when the Roblox window is active.
mouse2clickSends a right mouse down and right mouse up event when the Roblox window is active.
mouse2pressSends a right mouse down event when the Roblox window is active.
mouse2releaseSends a right mouse up event when the Roblox window is active.
mousemoveabsMoves the mouse using Windows absolute mouse input when the Roblox window is active.
mousemoverelMoves the mouse by a relative delta when the Roblox window is active.
mousescrollSends a mouse wheel event when the Roblox window is active.