Physical Material Mask at runtime?

Hey! I’m trying to add puddles to my materials, and I am wondering how I can set the material mask in the material editor. I have a black and white output already, I just need a way to set the mask.

Thanks in advance.