Hi Tomas,
Sorry for the late response. Got swamped at work this last week and I’m just getting back around to solving this issue.
That’s clever. I did not even think about that. Thanks for sharing. It seems like that would be less layers and parenting/linking layers to each other to deal with than my idea?
Which, btw, I did find an expression for that worked in a quick test I did:
target = comp("SOURCE COMP").layer("SOURCE LAYER");
samplePoint= [960,540]; // Sample location
sampleSize= [1,1]; // Sample area (in pixels)
target.sampleImage(samplePoint,sampleSize)
Josh