After Effects Expression Help
Hello,
I am quite new to After Effects and have been following a YouTube tutorial to create an expression based VT countdown clock. I have been following the tutorial exactly and everything was working perfectly apart from one expression. When I type the below expression it says there is issues with it, first it said "expression result must be of dimension 2" in the first line which was resolved when I changed the brackets to square brackets. Now it is saying "couldn't turn result into numeric value" on the third line. Here is the expression used:
angle=degreesToRadians[6*parseInt(name)-180];
radius=effect("radius")("Slider");
yPosition=radius*Math.cos(angle);
xPosition=radius*Math.sin(angle);
(xPosition+540,yPosition+540);
Here is the YouTube tutorial I am following: https://youtu.be/V2kraY0qeF0
Any help would be greatly appreciated!!