I imported an illustrator world map to after effect which is in layers (each country has a layer).
I'm trying to make a world map that will be scanned from left to right.
a simple solid layer will make scanning process.
the question is that how link opacity of each layer to position of that solid?
when that solid crosses over a layer, opacity of that layer change to maximum value and in other cases opacity change to minimum value.
I think it is possible to link the opacity of a layer to position of another layer, but how?