Input
Keyboard, mouse, clipboard, and window input.
20 functions
What the icons meangetclipboardSynchronousRead the text currently on the Android clipboard. Use it to import a code or settings string the user copied from another app.
isrbxactiveSynchronousCheck whether the Roblox host window currently has focus. It helps a script avoid sending local input while the user is in another app.
keyclickSynchronousSend one complete press-and-release key event. It is the simple choice for a tap when there is no reason to hold the key.
keypressSynchronousSend a key-down event and leave that key held. Use it for an intentional hold, then send the matching keyrelease even if the work in between fails.
keyreleaseSynchronousSend a key-up event to finish a hold started with keypress. Use the same virtual-key code as the original press.
messageboxAsynchronousOpen a system message dialog and wait for its button result. Use it for a decision that should be explicit before the script continues.
MessageBox:CloseSynchronousClose the message box from your script. The callback receives "ForceClosed" unless a choice was already made.
MessageBox:OnChoiceSynchronousSet the function that receives the choice, replacing any Callback given in the options. Use it when the handler is only known after the box is created.
MessageBox:ShowAsynchronousDisplay the message box. By default the calling thread waits here until a choice is made, so code after Show can rely on the callback having run.
MessageBox.newSynchronousCreate a message box with your own title, text, icon, and buttons. Call Show to display it; the callback then receives the button the user pressed, or why the box closed.
mouse1clickSynchronousSend a primary-button click at the current pointer position. Move the pointer first when the click belongs at a known screen coordinate.
mouse1pressSynchronousPress and hold the primary mouse button at the current pointer position. Pair it with mouse1release for a drag or another held-button interaction.
mouse1releaseSynchronousRelease the primary mouse button. Call it after mouse1press so a drag or hold ends cleanly.
mouse2clickSynchronousSend one secondary-button click wherever the pointer currently sits. It is useful for opening a context action in a focused interface.
mouse2pressSynchronousPress and hold the secondary mouse button. Use this when the receiving interface distinguishes a held secondary action from a quick click.
mouse2releaseSynchronousSend the button-up event for the secondary mouse button. This ends a hold begun with mouse2press.
mousemoveabsSynchronousPlace the pointer at an absolute screen coordinate before another local input action. This moves the pointer without pressing a button.
mousemoverelSynchronousNudge the pointer by an offset from wherever it is now. This is easier than calculating an absolute coordinate for small adjustments.
mousescrollSynchronousSend a wheel movement to the focused interface. Use it for a list or panel that already responds to mouse-wheel input.
setclipboardSynchronousCopy a value to the Android clipboard as text, ready to paste into another app. This is handy for an export code, a result, or a short diagnostic without converting it yourself first.