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
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
...Copy link to clipboard
Copied
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.