Monkey
Store
Community
Apps
Contact
Login or Signup

MouseX() MouseY() or store inside variable ?

Monkey Programming Forums/Monkey Programming/MouseX() MouseY() or store inside variable ?

zoqfotpik(Posted 1+ years ago) 
You could write a wrapper for MouseX(), MouseY() that would check to see if it had already recorded the position this tick.

If not, then it would record the position.

Then it would return either new mouse position or the mouse position already recorded.