KUIML
Blue Cat's User Interface Programming Language
Kt::Mouse Namespace Reference

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.
 

Detailed Description

Functions and classes in this namespace are experimental and may be subject to changes. Use at your own risk.

Function Documentation

◆ IsButtonDown()

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.