It can work for candy that has melted into a liquid state.