So I am using this code now :
C = comp("Character Head");
ctrl = C.layer("Pupil_Master_Control").transform.position;
L = comp("Eye_Right").layer("Right_Pupil_Control");
ctrl.valueAtTime(time+L.startTime)
Pupil Master Control is in the main comp called “Character_Head”.
“Eye_Right” is inside “Eyes” which is in the main comp itself.
Code gives no error but is a step forward in the sense that now when I am inside the nested comps I can actually see the “Right_Pupil_Control” -the null which controls the pupil – actually MOVE.
BUT for some stupid reason the movement is not updating in the main comp and seems weird.
I even tried purging & preserving nested frame rate through comp’s advanced option but to no avail.