mousemoverel Synchronous
Nudge the pointer by an offset from wherever it is now. This is easier than calculating an absolute coordinate for small adjustments.
Luau
mousemoverel(x: number, y: number) -> ()Parameters
| Parameter | Type | Description |
|---|---|---|
x | number | Horizontal offset. |
y | number | Vertical offset. |
Returns
()No values.
Usage notes
Positive and negative offsets choose direction. Neither button is pressed by this call.
Synthetic input goes to the Roblox game surface, not to Android dialogs or other app views.
Example
Luau
if isrbxactive() then
mousemoverel(12, -8)
end