Question
Expression error - Ignore parent scale
I'm following this tutorial https://www.youtube.com/watch?v=Qupphl-scQY and the first time I got an error message for the first part of the expression. In project settings I switched from JavaScript to Legacy ExtendScript, restarted AE and tried again: the first error solved itself but a new error appeared instead. The orange object is the parent and a 3D object if it matters. Any thoughts on how I could solve this?
s = [];
parentScale = parent.transform.scale.value;
for (i = 0; i < parentScale.length; i++){
s[i] = (parentScale[i]== 0) ? 0 : value[i]*100/parentScale[i];
}
s

