I'm making a simple project to learn Unreal Engine.
I have 50 actors (blueprints) and at the start a function will loop 5 times and spawn 5 of the 50 actors randomly.
How can I destroy the actors by pressing a button, irrespective of which of the 50 actors are spawned?