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

Expression error

Participant ,
Sep 19, 2017 Sep 19, 2017

Copy link to clipboard

Copied

Can you please tell me what I did wrong to get this error. I'm following a tutorial on YouTube and his is ok but I get this error message. screenshot attached

Views

364

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

correct answers 1 Correct answer

Community Expert , Sep 19, 2017 Sep 19, 2017

The only line of the expression I can see is:

value + [0, 0, index * thisComp.layer("Adjustment Layer 3").effect("Slider Control")("Slider")

It looks like you are trying to add the value of the slider times the index of the layer to the z position of the layer with the expression. If that is all there is to it then just closing the array you started with the left square bracket ( [ ) should fix the problem. Just put a ] at the end of the line to close the array.

If you do not know what an array is

...

Votes

Translate

Translate
Community Expert ,
Sep 19, 2017 Sep 19, 2017

Copy link to clipboard

Copied

LATEST

The only line of the expression I can see is:

value + [0, 0, index * thisComp.layer("Adjustment Layer 3").effect("Slider Control")("Slider")

It looks like you are trying to add the value of the slider times the index of the layer to the z position of the layer with the expression. If that is all there is to it then just closing the array you started with the left square bracket ( [ ) should fix the problem. Just put a ] at the end of the line to close the array.

If you do not know what an array is he spend some time with the expression language section of the help files by searching expression help in he Search Help field a the top right corner of AE.

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