Lightfunction blend between textures based on distance from light

Is it possible to do a blend between light function textures based on the distance from the light source? I want a flashlight to use multiple gobos for near/far lens diffraction, so it feels like the beam isn’t just a basic projection.

I’m new to material graphs and would appreciate a point in the right direction if anyone has any advice on whether or not this is possible, and how I might approach it.