This is what I have come up with so far:

**Code:**

// My crosshair will always be 960, 540

begin

// Look for this reddish color and find it's coordinates

while Color.Can not be located on screen (RGB)("255", "60", "10", "5")

begin

Color.Find coordinate of first occurrence (RGB)("255", "60", "10", "5", "xFoundVar", "yFoundVar")

end

// Calculate X-pixel amount to move

// xVar = 960, yVar =540 (My screen center, full screen mode

Variable.Evaluate (Math)("{xFoundVar}-{xVar}", "xDiff")

// X-coord align to target

if Variable.Is greater than (Math)("xDiff", "0")

begin

Mouse.Move in direction("Left", "{xDiff}")

end

if Variable.Is less than (Math)("xDiff", "0")

begin

Mouse.Move in direction("Right", "{xDiff}")

end

// Calculate Y-pixel amount to move

Variable.Evaluate (Math)("{yFoundVar}-{yVar}", "yDiff")

// Y-coord align to target

if Variable.Is less than (Math)("yDiff", "0")

begin

Mouse.Move in direction("Up", "{yDiff}")

end

if Variable.Is less than (Math)("yDiff", "0")

begin

Mouse.Move in direction("Down", "{yDiff}")

end

end

Could I get some input? My main concerns are that the function output is not what I am expecting OR the fact I do not have a Z-coordinate to my target will prevent me from accurately aiming at them.