How do I Set the active state of the game object that the script is attached to

I tried using

            gameObject.SetActive(true);

But that didn’t work anyway to do this

Once the object in question has been set to inactive, it’s code no longer reads. So it cannot set itself true. Another class must set it’s Active to true. But you do have the right syntax, just not in the right class :slight_smile: