AE表达式教程 - 鼠标经过缩放效果
target = thisComp.layer("目标");
dist = Math.floor( length(position, target.position) );
maxSize = target.effect("maxSize")("滑块");
minSize = target.effect("minSize")("滑块");
range = target.effect("range")("滑块");
sensitivity = target.effect("sensitivity")("滑块");
scle = linear(dist, range, sensitivity, maxSize, minSize);
[scle, scle]