mouse

Interact with the mouse device

Get Position

mouse.getPosition();

Return's the current X and Y coordinates.

Move

mouse.move(int: x, int: y, windowCheck: bool = false);

Moves the mouse by X and Y values.

Move To

mouse.moveTo(int: x, int: y, windowCheck: bool = false)

Moves the mouse to a specific X and Y [Screen Coordinate] point on the screen.

Is Left Key Down?

mouse.isLeftKeyDown();

Returns a boolean.

Is Right Key Down?

mouse.isRightKeyDown();

Returns a boolean.

circle-info

Passing button types:

  • 1.) Left mouse

  • 2.) Right mouse

Click

This will automatically press the key and lift up the key after a randomized time.

Key Down

Key Up

Last updated

Was this helpful?