more texture in one material applied on a terrain based on terrain height

hi all

i have a question about to create a material,

in this material 2 different textures (incluse AO, roughness, diffuse and normalmap) must be set at different heights(example rock between 0 and 200 and grass from 201 to 1000)

how can i do this?

thanks
Neva
https://forums.unrealengine.com/core/image/gif;base64
​​