term.getCursorPos
From ComputerCraft Wiki
Revision as of 20:43, 7 July 2012 by Pinkishu (Talk | contribs) (moved Term.getCursorPos() to Term.getCursorPos)
Function term.getCursorPos | |
Returns the location of the cursor on screen. | |
Syntax | term.getCursorPos(none) |
Returns | x, y |
Part of | ComputerCraft |
API | term |
Examples
Example | |
Prints the location of the cursor on screen. | |
Code |
print( term.getCursorPos() ) |