Topic was automatically imported from the old Question2Answer platform.
Asked By
MIna
Can a node detect when a node is deleted via queue_free() in a similar way to how an area2D can detect bodies exiting it, and can this be used in code?
Although this code will emit the signal before the node is actually freed, so if you require a signal to specifically be emitted afterwards, then tree_exited is probably your best bet.