I’ve found a temporarily solution, (below)
But I’ll defiantly check yours tomorrow, seems complicated right now, but I’ll look deep into it.
I used the scale animation reach 100% at 0.9 instead of 1 and kept the 0.1 for the glow effect that I’m applying on the layer.
Amstane
s=thisComp.layer("Animation Guide"); // the layer with the wipe animation that will be sampled
sc=transform.scale[0]/100; // the scale depend already of the animation guide sampling from 0 to 0.9
scL=linear(sc,0.5,1,0,1); // to have the glow start at scale 50
v=s.sampleImage([transform.position[0],transform.position[1]],[.5, .5]); // sampling again nut from 0.9 to 1
e=layer("ANIMATION").effect("Assembling Glow")(1)*scL; // control the glow max value with a slider
ease(v[0],0.9,1,e,0) // While sampling goes from 0.9 to 1 the glow goes from e to 0
Regards,
Amstane.