i would like to change the position of a composition A every time the time in composition B hit 1s , 2s , 3s ,...
A and B are in the same composition ,
how to access the time of the B comp ; sorry i'm very new to expression , i tried
but it did not work
please , help me
Math.max is used to ensure we start at 0, not in the negative range.
Math.floor is used to move only at full seconds.
inPoint is the time at which the layer starts.
Layers A and B are in the same level of hierarchy here, though. Although it doesn't sound like you have it set as a child comp, if you did have a comp named "B Comp" within which you have a layer named "B", it would be this way instead: