Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Store two mouse.xy positions in Variables to calculate
#2
Code:
Copy      Help
POINT mousePos = mouse.xy;
mouse.moveBy(20, 50);
POINT mousePos2 = mouse.xy;

double dist = Math2.Distance(mousePos2, mousePos);
print.it(dist, (int)dist, dist.ToInt(), mousePos2.x - mousePos.x, mousePos2.y - mousePos.y);


Messages In This Thread
RE: Store two mouse.xy positions in Variables to calculate - by Gintaras - 02-14-2023, 07:37 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)