Thanks for your reply Dan. I’ve been agonising over this and wasting WAY TOO MUCH time trying to work it out. I was convinced there was an error in my system. Makes perfect sense now that you’ve explained the time offset factor–although I never would have got there myself.
I’ve applied your time compensation expression to the position property of the layer in my nested comp as follows:
C = comp(“Main Comp”);
L = C.layer(thisComp.name);
C.layer(“Null”).transform.position.valueAtTime(time+L.startTime)
I’m getting an error in Line 2: “Bad argument: couldn’t find layer named “Nested Layer”. I can see what’s going on here: it’s looking for a layer with the name of my nested comp // layer(thisComp.name) // inside my main comp (given the variable “C”), which obviously doesn’t exist. Is this correct? Have I mixed up which comp / layer names to insert in the “Comp Name” / “Layer Name” positions?