This library creates the client/MouseUpdate() proc which is called every time it detects mouse movement. All you have to do is this:
// enable mouse position tracking mob Login() ..() track_mouse() // update the crosshair position when the mouse moves client MouseUpdate(tx, px, ty, py) mob.crosshair.screen_loc = "[tx]:[px - 16],[ty]:[py - 16]" |
Version 3
• Added support for a resolution value of 16.
Version 2
• Made MouseDrag() also trigger MouseUpdate
Version 1
• Initial posting
