How can i change variable in run time for custom pass. HDRP

So I’m trying to change the radius of a blur in runtime that is on a custom pass. the float i am trying to edit is public by the way.

i am using slightblur from this code.

I solved it.

this is what i basically did CustomPassVolume customPassVolume = FindObjectOfType();