def METHOD_NAME(self) -> None:
    children = [object for object in self.scene.objects.values() if object.parent == self]
    for child in children:
        child.METHOD_NAME()
    del self.scene.objects[self.id]
    self._delete()