-
Add an independent expression for SIZE to a child layer.
I have shape layers parented to Null object so the can move over X axis. (2D)
During the move, I need them to change their size based on the following expression.
This only work when my shape layers are not parented. How can I make it work while parented?Thank you so much!
sourceLayer = thisComp.layer("Control Layer");
sampleSize = [1,1];
samplePoint = transform.position;
colour = sourceLayer.sampleImage(samplePoint,sampleSize);
x=colour[0]*100;
[x,x]
Marko