editor_remove_node
Remove a node and its children from the currently open Godot scene, with undo support via Ctrl+Z.
Instructions
Removes a node (and its descendants) from the scene open in the Godot editor (live, undoable with Ctrl+Z).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_path | Yes | ||
| scene_path | No | Optional safety check: fail unless this is the scene currently open in the editor |