I ended up figuring it out moments after, but thanks for your response.
Used this expression:
nominalDist = 400;
C = thisComp.activeCamera;
v1 = toWorld(anchorPoint) - C.toWorld([0,0,0]);
v2 = C.toWorldVec([0,0,1]);
d = dot(v1,v2);
value*(d/nominalDist)