This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
jay5476's profile picture

getting current cursor position

Started by jay5476, 24 July 2012 - 03:46 PM
jay5476 #1
Posted 24 July 2012 - 05:46 PM
i want to know how you like have setcursorPos is there any way to get cursor position
im currently making a game and a need to walls and thought it would be an easyier way to do it
say if cursorpos == <2 numbers here> then
blah blah
also game code at pastebin/7MBvx3eT
tell me if its any good so far
spent about 30min on it so far
MysticT #2
Posted 24 July 2012 - 05:59 PM
The wiki has the answer. Search for the term api, there's a function called getCursorPos.