input.getCursorPos

From Wake
Jump to: navigation, search

Get the coordinates of the mouse cursor relative to the top left of the window.

Function

Synopsis

x, y = input.getCursorPos()

Arguments

None.

Returns

number x


number y

See Also