Skip to content
Adisol edited this page Mar 8, 2024 · 1 revision

Mouse component

This wiki page is for how to use the crossplatform mouse component

How to move the cursor?

You can simply use the Move(x, y) function
Usage: OhMyOS.Mouse.Move(x, y);
Action: It moves the cursor to the X, Y coordinates on supported platforms

How to click?

You can use the Click(x, y) function
Usage: OhMyOS.Mouse.Click(x, y)
Action: It clicks to the X, Y coordinates on supported platforms

Clone this wiki locally