-
Define a range of value for a position
Hi all,
I am trying to create an expression that would change the intensity of a sharpen effect according to the position (or even better, anchor point) of a layer.
Basically I would use an “if/else” expression that would look like this :if(thisComp.layer(“Nul 2”).transform.xPosition==[959.9,960.1]){
0;
}else{
20;
}
;
As you can see I want the intensity to be set at 0 between 959.9 and 960.1, otherwise to be set at 20.
It works with only one value but I don’t know how to create a range of value.
Thanks !
Julien