GameObject cardClone = Instantiate (Cards [i], new Vector3 (xVal, yVal, zVal), transform.rotation) as GameObject; Destroy(cardClone);