term.getCursorPos
From ComputerCraft Wiki
Revision as of 18:40, 28 November 2012 by AfterLifeLochie (Talk | contribs) (Moved to CAT:APIFunctions)
| Returns the location of the cursor on screen. | |
| Syntax | term.getCursorPos(none) |
| Returns | x, y |
| Part of | ComputerCraft |
| API | term |
Examples
| Prints the location of the cursor on screen. | |
| Code |
print( term.getCursorPos() ) |