-
Expression Question
I’m animating a sunrise, and I’m using an expression on a four color gradient to connect the position of one of the gradients (the bright color to serve as a glow) to the center of the sun.
Currently the sun is coming from the lower left of frame and arching into the lower right. The issue I am having is the sun I made is fairly large and in order to benefit from the gradient point’s spread, I would like to make the expression so it’s referencing the center of the sun, but adding a few points up from the center of the sun.
I was thinking of using vector math to add to the x and y in the expression, but I can’t figure it out to where it’s written correctly.
Here’s what I have right now: thisComp.layer(“sun.ai”).transform.position
Hopefully this explanation makes sense and thanks in advance for your help.