How to destroy an object - destroy problems

Hi, i’d like to make a game object falling from the top to the bottom of the screen. I want to destroy it when its below the bottom and its not visible. How do i destroy it. In the update method of the class attached to that gameobject i do:
void Update () {
if (GetComponent().isVisible )
{
transform.Translate(0, 2f * Time.deltaTime, 0);

    }

    else
    {
        Destroy(gameObject);
    }
 
}

If i put the destroy, the object does not even appear when i start the game. If i remove the destory, the object appears and starts falling, but does not get destroyed when not visible. HELP! <3

How about this method? Unity - Scripting API: MonoBehaviour.OnBecameInvisible()

You can create a box collider under your screen and tag it as “deathLine”. After gameobject falls it will touch the collider. The idea is to destroy the gameobject when it touches the collider. So inside your gameobject add a few line of codes :

void OnTriggerEnter2D(collider2d other)

{

if(other.tag == “deathLine”)

{

destroy(gameobject)

}

}

If you just want the gameobject to be invisible and dont care if it keeps going when its off screen you can turn off the mesh renderer and turn it back on when restarting your game. If you want to pause it’s movement as well you’ll have to do it on your own or you can share your code and I will help you, although it should be fairly simple :).