Forums › Adobe After Effects Expressions › Expression result must be of dimension 2, not 1
Expression result must be of dimension 2, not 1
Aditya Prakash
March 10, 2020 at 12:02 amFollowing the tutorial on using Trapcode Sound Keys given at
https://www.redgiant.com/tutorial/episode-46-music-visualization-with-trapcode-suite/
I was trying to enter the expression exactly given in the tutorial (shown below), however, I continue to get the error “Expression result must be of dimension 2, not 1”. I tried to search the Internet and folks mentioned that I should be using square brackets instead of round brackets, but that does not help and changes the error. Any ideas on how to fix this?
The expression I was trying was:
a = thisComp.layer(“Sound Keys”).effect(“Sound Keys”)(“Output 1”);
a = thisComp.layer("Sound Keys").effect("Sound Keys")("Output 1");
b = thisComp.layer("Sound Keys").effect("Sound Keys")("Output 2");
c = thisComp.layer("Sound Keys").effect("Sound Keys")("Output 3");y = a + b + c;
Dan Ebberts
March 10, 2020 at 12:24 amIt looks like you left off the last line:
value – [0,y]
Dan
Aditya Prakash
March 10, 2020 at 12:34 amOh my, I feel so embarrassed. This is shown in the tutorial too, but after writing what i did, it started to throw the error and i just did not move forward in the video.
Thank-you so very much 🙂
Log in to reply.