im very happy to see that someone has answered. THX!
So i just want to make the same like the terrain painter but from the script. I had an idea - set very much triggers and give them an groundlayer
but it is not realizable ..
i need the command to "paint" the terrain texture from the brush from "terrain painter" somewhere in the map ...
okay i hope someone could help me