void Update() { Vector3 pos = transform.position; pos.x = toFollow.transform.position.x; transform.position = pos; }