Imagine that clearing the terrain region will leave behind a cube shaped hole, is it possible?
And btw, is it also possible to specify the materials inside the region? And deleting those materials only too?
I hope you understand, ask me if you don't.

3 comments
Thanks for the answer, but can you also answer the rest of the questions?
@anphu04 you can get the terrain material ID codes from this link: https://developer.roblox.com/api-reference/enum/Material
As for clearing terrain of only a specific material, I am not sure because I don't have access to the studio right now, but https://developer.roblox.com/api-reference/class/Terrain is where you can find all the functions you can use. I am actually interested in that part of your question, so if you find a solution, let me know.