get gameobject active state code example Example: get gameobject active state //this returns the active state of the game object GameObject.activeSelf;