get parent gameobject of compinent code example Example: how to reference the parent of a gameobject transform.parent.gameObject