-
Syntax issue with taking a value from time
Hi, I am having some problem getting an expression to work.
I believe my problem is my sytax:I have plotted x and y values for a null in a separate comp.
the x value corresponds to the frame number
I want to grab the y value to a text layer when x = a given frame numberIn my Source Text I have created an expression [see below]
Can anyone spot my mistakes and put me on the road to enlightenment?
Many thanks – C
t = comp("CNTL").layer("1").effect("1")("Slider");
value = Math.round(comp("Graph").layer("Null").transform.position[1].valueAtTime(t))Christopher Johnstone