Then I have a family (snake) formed by several objects, when the player has a view one of those objects check if it is already in the array if he is not adding it, I want you when you stop seeing all the objects that make up a Snake this it is removed from the array, it configures it in this way and it works, but eliminates the snake of the array because one of the Snake parts is not being seen, which makes sense and does not affect because it is added again later. But I want it to be added 1 time and that is deleted 1 time. How do I do it?