Styrofoam is a type of plastic, and is more often than not used to make cups, plates, egg cartons and other food packaging. When heated above 140 degrees Fahrenheit, it starts to break down. Therefore, using a Sharpie on Styrofoam cups won't cause it to melt, but it will cause the surface of the cup to discolor.