I see this type of effect often requested, and i was curious to build a simmilar set up using a few expressions, hopefully i kept it simple!
You can do this with footage, text, shapes or anything else!
Expression used:
var p1 = thisLayer.position;
var p2 = thisComp.layer("Control").position;
var delta = sub(p1,p2);
var distance = length(delta);
ease(distance, 0, 500, [value[0],value[1],value[2]], [value[0],value[1],value[2]+500]);
"control" is the name of your shape layer.
thanks for watching
#aftereffects #tutorial #motiongraphics #effect
Create Scrolling Select Animation in After Effects