• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

AE Expression Erros

New Here ,
Nov 30, 2022 Nov 30, 2022

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

 

TOPICS
Error or problem , Expressions , Scripting

Views

268

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 30, 2022 Nov 30, 2022

Copy link to clipboard

Copied

LATEST

Maybe try it this way:

x=thisComp.layer("bg").sampleImage(transform.position, [0.5, 0.5]/2, true, time) [0];
100*[x,x];

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines