i use medium consistency royal icing to write on cookies. the icing holds a soft peak. it should be thin enough that it comes out of a small piping tip easily, but not so thin that it loses its shape.