Copy link to clipboard
Copied
Hello guys,
I am working on AE 2023/OS12.5 and creating an interaction when the shape deforms when collides with the shadow.
Expression:
x=thisComp.layer(thisComp.layer("bg")).sampleImage(transform.position), [0.5, 0.5]/2, true, time) [0];
100*[x,x];
Does anyone have an idea why I am having this error?
Many thanks in advance,
Røms
Copy link to clipboard
Copied
Maybe try it this way:
x=thisComp.layer("bg").sampleImage(transform.position, [0.5, 0.5]/2, true, time) [0];
100*[x,x];