how to correctly use the crossfade by distance to differentiate shots from near and far

hello! I wanted to know if anyone knows how to correctly use the crossfade by distance to differentiate shots from near and far, if you use any plugin outside of unreal to give it that effect, please