target = thisComp.layer("Royal Blue Solid 2"); // this would be the layer that you want to sample the color from h = target.height / 2; w = target.width / 2; target.sampleImage(target.anchorPoint, radius = [w, h], postEffect = true, t = time);