$arr1 = _PixelSearchArray( 10, 10, 100, 100, 0xFF0000)
$arr2 = _PixelSearchArray(110, 110, 100, 100, 0xFF0000)
If IsArray($arr1) And IsArray($arr2) And $arr1[0][0] And $arr2[0][0] Then
If $arr1[0][0] >= $arr2[0][0] Then
MouseClick("left", 60, 60)
Else
MouseClick("left", 160, 160)
EndIf
EndIf