During a change of state, the temperature remains constant. This is because all the heat supplied to increase the temperature is utilised (as latent heat) in changing the state by overcoming the forces of attraction between the particles. Therefore, this heat does not contribute in increasing the temperature of the substance.