i have a function that has 4 For loops in it and it does a certain task and uses 100% cpu, it also moves the mouse around. at the end it asks the user if the user wants to repeat the function. if the user says yes then the function runs again. the first time the function runs i can see the mouse move pretty quickly in the pattern it is suppose to move in. the 2nd time it goes about twice as slow. does any1 know y? i don't think posting the code is neccessary since i spelled it out pretty much and there's a lot of junk in the loops which would take a while to take out.