Delete TouchDesigner node
delete_td_nodeRemove a node permanently from a TouchDesigner project by path. Use bypass mode to disable instead of delete for reversible action.
Instructions
DESTRUCTIVE by default: permanently remove one node from the project by path (a COMP also takes its children with it); this cannot be undone via the API. Prefer mode:'bypass' when you only want to disable a node — it turns the bypass flag on (reversible) instead of destroying it. Returns {deleted|bypassed, mode}. Only call delete mode when the user explicitly asks to remove a node.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 'delete' (default) destroys the node; 'bypass' is the safer, reversible middle ground — it turns the operator's bypass flag on instead of removing it, so the artist can re-enable it with one click. | delete |
| path | Yes | Full path of the node to delete, e.g. '/project1/noise1'. |