During editing, you can see the hole
writing to a new object is the default.
But if you mean at runtime, then you’ll need to look at geometry scripting