mousemoverel Synchronous
Move the pointer by an offset from its current position. Use it to adjust the pointer relative to where it already is. Positive or negative offsets choose the direction; no button is pressed by this call.
Luau
mousemoverel(x: number, y: number) -> ()Parameters
| Parameter | Type | Description |
|---|---|---|
x | number | Horizontal movement relative to the current position. |
y | number | Vertical movement relative to the current position. |
Returns
()This function returns no values.
Example
Luau
if isrbxactive() then
mousemoverel(10, 0)
mousemoverel(-10, 0)
end