reset get all AR geometry By Class

Hello everyone.
I am creating an augmented reality application, I need to destroy the actor that is generated to recognize the image again and to generate it again. However, this node saves the image reference and does not allow me to recognize it again. It would also help me if the actor was delete when the image is not being seen by the camera and recreate it when the image is recognized.


I currently have an event that is activated when there is a difference in the length of the array, so it would be convenient for me to occupy a destroy actor and that is generated when the image is recognized again