quote:
Originally posted by DaAniv
solved it my problem I did <=children not <children
Sorry I didn't get a chance to look over it fully to help out. The reason it is like this is because .Length isn't 0 based which means it does not start counting at 0. You can either do .length-1 or not include the = in your condition.