ExtensionBased on MouseX
When instantiating the class for the first time, the very first reading will be erroneous. It will read the cursor as Point(0, 0). A kind of workaround is to manually set the *cursorPosition classvar before start using PMouseX or PMouseY.
| minval | |
| maxval | |
| warp |
0 for linear and 1 for exponential. The symbols |
| lag | |
| length |
Number of values produced. |
Current mouse coordinates as a Point.
How fast to poll the cursor position internally. Default is 0.1 seconds between each reading. Needs to be set before instantiating any PMouseX or PMouseY for the first time.