internal void PrintMousePosColor() { while (true) { Thread.Sleep(100); int x = au3.MouseGetPosX(); int y = au3.MouseGetPosY(); if (IsHealthPixel(new Point(x, y))) { console.WriteLine("Is health bar"); } } }
public Vector GetPostion() { a = new Vector((int)auto.MouseGetPosX(), (int)auto.MouseGetPosY()); return(a); }