facing issues with procedural material

and if i want to create a procedural between sand and vegatation post existing wet sand and sand in a height parameter, is this the right way?