If you just want to change the first path, you don't need the for loop. In fact, the way it's written now, the loop does nothing. Normally, if you use a loop like this you would have the "p" replace the "0" in the array brackets, so that as the loop progresses, it works on the next obect in the array - in this case the paths.
↧