-
Please correct this ae expression
Hi friends,
anyone helps correct this, expression apply in opacity it starts at 0 but I want it to start after 2 seconds or starting point control by a sliderfunction quart(time, startvalue, finalvalue, duration) { time /= duration; if (time > 1) return finalvalue/2*time*time*time*time + startvalue; time--; return -finalvalue * (time*time*time*time - 1) + startvalue; } startvalue = 0; finalvalue = value; duration = thisComp.layer("Dashboard - Theme").effect("Animation Duration")("ADBE Slider Control-0001"); a = quart( time-startTime, startvalue, finalvalue, duration ); if( time < startTime + duration ) value = a; else value = value;