We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I was wondering what the best way to limit mouse movement, for example if I put mouseX and mouseY on these pupils
ellipse(280,165,28,28); //Left Eye ellipse(310,165,28,28); //Right Eye fill(0); ellipse(278,162,3,3); //Left Pupil ellipse(315,167,3,3); //Right Pupil
how would I limit movement to within the eyes?