How to make different models for different textures with grass tool?

I’m using CheckerPattern to use the grass tool in order to generate grass on terrain. However, I have paths in my map and all the grass is also going onto the paths. I have created two different landscape grass types but it just puts the grass everywhere. I want it to only put it on the grass texture and not the path texture. This is the blueprint for the landscape materials.