A system and method for automatically delivering a substance to an animal or fish including a positioning system that positions each animal singularly and a sensor that detects the location of a predetermined targeted area on the animal. The system further includes a delivery device for delivering a substance to the targeted area. The position of the delivery device may be adjustable. The delivery device is in communication with the sensor. The delivery device adjusts its position in response to the data received from the sensor and delivers a substance to the targeted area.