how to add blur to helmet

hello, I’m working on a ThirdPersonCharacter blueprint with a switch to first‑person view. I want to apply a dynamic blur effect to the helmet mesh when in first‑person, but have it become fully clear when the camera approaches a wall or other geometry, I have already searched half of Google and have not found anything similar (well, or I just did not search correctly) I have such logic in ThirdPersonCharacter (yes, this is an unreal engine 4)



this spaghetti of nodes somehow solved the problem, but I’m still trying to figure it out, and this is not the result at all, you need to use everything differently, this is already the 5th option… all over again…