Home

Cursor

Mouse cursor operations

Operations

GetGlobalMouseState

Get the current state of the mouse in relation to the desktop

function : public : GetGlobalMouseState(x:IntHolder, y:IntHolder) ~ Int
Parameters
NameTypeDescription
xIntHolderfilled in with the current X coord relative to the desktop
yIntHolderfilled in with the current Y coord relative to the desktop

Return
TypeDescription
Intcurrent button state as a bitmask

GetMouseState

Retrieve the current state of the mouse

function : public : GetMouseState(x:IntHolder, y:IntHolder) ~ Int
Parameters
NameTypeDescription
xIntHoldercoordinate of the mouse cursor position relative to the focus window
yIntHoldercoordinate of the mouse cursor position relative to the focus window

Return
TypeDescription
Intcurrent button state as a bitmask