Here, this will work.
SCAR Code:
if (FindColorTolerance(x, y, StairColor, 0, 0, 560, 784, 20)) then
Mouse(x, y, 0, 0, True);
You forgot to add the last integer, the tolerance.
And if your using SRL, it looks like the cords you set it to look for are the whole main screen. Why not use msx1, msy1, msx2, msy2? But that is only if you have SRL. And another thing ill add is that that the procedure you are using will look for the color from left to right of the screen, if you want it to search from middle out use: FindColorSpiralTolerance. I also noticed how you set it to true, most procedures, or procedures that are booleans are automatically set to true when you leave it between an if then statement, like I did above.