Topic was automatically imported from the old Question2Answer platform.
Asked By
PugMasterPug
Old Version
Published before Godot 3 was released.
I want that in certain moment all enemies (Which are in a group) get deleted.
I could create a global variable and detect it from the enemy script.
So when it changes it deletes the enemy.
But is there any easier way to delete all objects in a group (All objects are instances of a scene using the preload method) ?