-
proximity detection expression with hold
Hi, I’m having a small problem here I haven’t found a way to solve yet.
I’m having a screen full of characters that are vectorial layers each of them,
I want them to fly away in all directions when a (invisible) layer (solid) is passing by.
I came up with a “particular” that generates the same letters flying away
and I got sofar that the original letter swiches off when the solid that drives “particular’s generator” passes by, in this way:out = [100]
delta = (width + thisComp.layer(“White Solid 2”).width)/2;
if (length(position, thisComp.layer(“White Solid 2”).position) <= delta)
{out = [0]}Now what is missing is that the layer stays off after the solid has passed, like freezing or loop out
or something like that. I’m not expressionist enough to figure it out on my own…out = [100]
delta = (width + thisComp.layer("White Solid 2").width)/2;
if (length(position, thisComp.layer("White Solid 2").position) <= delta)
{out = [0]}