mouse class : Move(int,int) method

Description

Sets the cursor's position.

Syntax

mouseInstance.Move(int x, int y)

Arguments

ClassNameDescription
intxx-coordinate of the moving position.
intyy-coordinate of the moving position.

Return value

None.

Sample code

1:

mouse m = new mouse();

2:

m.Move(100, 100);

Notes

Arguments are the screen coordinates.

The unit is physical pixels.

Links for reference

Copyright © Cooker All rights reserved.