Mouse Control

From SolarStrike wiki
Revision as of 10:14, 13 July 2008 by Elverion (talk | contribs)
Jump to: navigation, search

mousetSet(x,y)

Sets the mouse's screen position to (x,y), where x and y are integers. Coordinates are absolute. See mouseMove() to specify relative coordinates.


mouseMove(x,y)

Moves the mouse (x,y) pixels, where x and y are integers. Coordinates are relative. See mouseSet to specify absolute coordinates.


mouseLClick()

Clicks the left mouse button.


mouseMClick()

Clicks the middle (or wheel) mouse button.


mouseRClick()

Clicks the right mouse button.


mouseLHold()

Holds down the left mouse button until a left click or left release. Use mouseLRelease() to release.


mouseMHold()

Holds down the middle/wheel mouse button until a middle/wheel click or middle/wheel button release. Use mouseMRelease() to release.


mouseRHold()

Holds down the right mouse button until a right click or right release. Use mouseRRelease() to release.