Slime is actually a colloidal solution. That means that small particles of cornstarch are suspended in the water but not actually in the water like salt is when you make a cup of salt water. Colloids have different properties than solutions. If you bang on the surface of salt water the water splashes. But if you tap the surface of slime, it feels solid. The more pressure you apply to the surface the harder it becomes. Slime is a non-Newtonian liquid, which means that the viscosity, or resistance, of the liquid changes as you apply a stronger force. If you rest your hand on the surface of slime it will sink in, but it you smack it, the surface is solid. Water is a Newtonian liquid and has an unchanging viscosity. This is why you can swim in water, but not in quicksand, which is like slime.