Just found a way
d = toWorld(anchorPoint) – thisComp.activeCamera.toWorld([0,0,0]);
distance=length(d);
linear(distance, 0, MaxDist, [maxScale,maxScale,maxScale], [0,0,0]);
Where MaxDist=distance in pixels to begin scaling
maxScale=largest percentage to scale item
works great