title: Having problem with pixelgetcolor within loop and would be open to any suggestion
body: <p>This is my code. What i want to do, is this loop to finish what its doing when i find this this color.
  I belive the problem is with the cordinates from pixelgetcolor, i have no idea how to put cordinates there. Iv tried with pixelsearch and it wasnt a succes either.Do you have any suggestion what should i do ? The idea is to click non-stop unless this color is on the screen.</p>
  
  <pre><code>CoordMode, Mouse, Screen
  CoordMode, Pixel, Screen
  
     Loop ; This loop do non stop, unless the color is on the screen.
            {
              MouseMove, %X%, %Y%
              Click
              sleep,%flick%
              Click
              sleep,%flick1%
              PixelGetColor,Dead_Monster,X,Y,RGB
              if(Dead_Monster = 0x3CC4C4)
              {
                break             ¸
              }
             }
  </code></pre>