VirtualInputManager.SendMouseButtonEvent
Virtual input shims for UI automation.
Syntax
VirtualInputManager.SendMouseButtonEvent(...) -> nil
Parameters
| Parameter | Type | Description |
|---|---|---|
... | ... | Additional arguments forwarded to the target. |
Returns
| Type | Description |
|---|---|
nil | This function does not return a value. |
Description
VirtualInputManager.SendMouseButtonEvent is part of the Services library. Service shims are pumped by the external tick loop and expose the parts of Roblox services the VM supports.
The operation is performed immediately using the arguments supplied at the call site.
The aliases SendMouseMoveEvent(...), SendKeyEvent(...) resolve to the same implementation.
Example
VirtualInputManager.SendMouseMoveEvent(100, 100)
VirtualInputManager.SendKeyEvent(0x41, true)
Notes
- Aliases:
SendMouseMoveEvent(...),SendKeyEvent(...). - Service signals are pumped by the external tick loop.