public void HighLightMove() { int x = PS.GetXPos(); int y = PS.GetYPos(); y += 1; GameObject field = GameObject.Find(string.Concat(x, y)); field.GetComponent <Renderer>().material.color = Color.green; }