I am a bit confused here about how to interact with an image in a canvas.
My images load but I want to be able to click a given image and work out which image the mouse has clicked.
But the images can be offset aswell which makes matters more confusing, so I was wondering if there was a some kind of mathematical way to calculate which image your mouse is over when you click the canvas?