I'm quite new to processing. I'm trying to create an interactive dial and the focus of my functionality lies within the pointer. Currently the pointer operates with the mouse placed at any given location on the canvas moving the mouse left to right. The behavior of the pointer is to rotate within the dial itself, that much I have established.
Question: How to I contain the "mousepressed" function within the image of the pointer (img2 - pink pointer) ?