I tried to solve this, but I'm having some problems.. I want my object to fade from MinOpa -> MaxOpa, when the requirements are met.
I really hope someone can help me out here!
How it looks now with the code posted below..
Code: Select all
ConPos = thisComp.layer("Controller").transform.position;
CircPos = transform.position;
MaxOpa = 100;
MinOpa = 5;
s = thisComp.layer("Controller").effect("Tolerance Slider")("Slider");
if (CircPos>ConPos+s || CircPos<ConPos-s)