Mouse script functions (experimental). More...
Functions | |
bool | IsButtonDown (uint index) |
int | GetXPosition () |
Returns the horizontal position of the mouse cursor on screen. | |
int | GetYPosition () |
Returns the vertical position of the mouse cursor on screen. | |
Functions and classes in this namespace are experimental and may be subject to changes. Use at your own risk.
bool Kt::Mouse::IsButtonDown | ( | uint | index | ) |
Returns true if the mouse button is down. index 0 is the left button, 1 the right button, 2 the middle button etc.