How do I destroy objects in the spawn system?

Hello everyone, I created a spawn system, but after a while the actors multiply and start to slow down the program. I will share a picture of how I made the spawn system. I want the object that enters the scene to disappear after about 30 seconds. I’m very new to unreal engine. I would be happy if you help.

1 Like

You could automate it by setting the Initial Life Span in the actor’s Class Settings:

Actors spawned from this template will self destroy after X seconds.


1 Like

Thank you very much. You saved me from a big trouble. I’m glad to have you.