cursor

unsigned short cursor()

Returns the current cursor position as an offset from the upper-left corner of the screen.