# Editor.MapDoc.MapDocument.DeleteNode

```csharp
void DeleteNode(MapNode node)
```

Removes the node from the world, deletes all children too.

### Parameters

- `node` (`MapNode`)

Declared in [Editor.MapDoc.MapDocument](/api/Editor.MapDoc.MapDocument).
Assembly: `Sandbox.Tools`.
