get gameobject active state

Code Example - get gameobject active state

                
                        //this returns the active state of the game object
GameObject.activeSelf;