Incommodious Posted November 29, 2012 Share Posted November 29, 2012 Im trying to write a script for a facebook game very simple, just trying to learn scar a bit better and take my time. I ran into a problem where If it finds a color then it will movemouse to the color then click the color but what i need is if it finds the color then i need it to click say 60 pixles under where the color is... any ideas? Quote Link to comment Share on other sites More sharing options...
Bixby Sayz Posted November 29, 2012 Share Posted November 29, 2012 Pretty straight forward [sCAR] if FindColor(X, Y, Color, XS, YS, XE, YE) then ClickMouse(X, (Y + 60), mbLeft);[/sCAR] Quote Link to comment Share on other sites More sharing options...
Incommodious Posted November 29, 2012 Author Share Posted November 29, 2012 I just wasn't sure thanks Quote Link to comment Share on other sites More sharing options...