Jump to content




getting current cursor position


  • You cannot reply to this topic
1 reply to this topic

#1 jay5476

  • Members
  • 289 posts

Posted 24 July 2012 - 04: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

#2 MysticT

    Lua Wizard

  • Members
  • 1,597 posts

Posted 24 July 2012 - 04:59 PM

The wiki has the answer. Search for the term api, there's a function called getCursorPos.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users