term.getCursorPos
From ComputerCraft Wiki
Revision as of 07:50, 23 January 2013 by Cruor (Talk | contribs) (Fixed broken example and removed "none" from args)
| Returns the location of the cursor on screen. | |
| Syntax | term.getCursorPos() |
| Returns | x, y |
| Part of | ComputerCraft |
| API | term |
Examples
| Prints the location of the cursor on screen. | |
| Code |
x, y = term.getCursorPos() |