Transform transform;
Vector3 pos = transform.localPosition;//Returns the relative position relative to the parent.