Answered
strange error in expression loop. any ideas?
Expression loops through a series of effects by name: line1, line2, line3, line4, line5.
Getting an error at i=6, which should not be possible based on the loop's break conditions. Any ideas?

// loop through the lnes
for ( i=1; 1<=5; i++ ) {
lineName = "line" + i;
lineEmojiEffect = emojiComp.effect(lineName)("3D Point");
lineEmojis = [ parseInt(lineEmojiEffect[0]), parseInt(lineEmojiEffect[1]), parseInt(lineEmojiEffect[2]) ];
if (emojiNum in lineEmojis) {
lineNum = i;
printY = thisComp.layer("line"+lineNum).transform.position[1];
} else {
printY = 0;
}
}
