How to destroy object on x frame

Hi, is there anyway to destroy .png during the animation? It can be invisible or can be just deleted, I just don’t need on screen so how can I achieve that?

cant you just move it out of shot?

ah re read your question
yes you can aniimate the alpha property of the .png. encapsulate it and animate the property on the layer itself.
I tend to turn alpha into a switch so it si either on or off, and aniated the visability that way.

You cannot “destroy” a layer, and specifically, png images layers still there on memory. You can animate the image filename and replace it with a lighter (1x1 pixel) image (full transparent) to unload your computer memory.
Did it help?