The present invention discloses a system and method for delivery viscoelastic, materials into the eye based on the intraocular pressure of the eye, thereby reducing the distraction of the surgeon from other activities involved in the surgery, and increasing the consistency and accuracy of the use of viscoelastic materials during surgery, from surgeon to surgeon.