I have an image, and I want to preform a different action if the user clicked on different parts of the image.
I am kinda of new hobbyist, so I don't understand everything I find on my research. I have found a couple of solutions, but I don't quite understand how to implement any
PS:
- The image is in a gird like a table (if it will help)(drawing the table is NOT an option)
- I have seen a couple of other solutions, but I don't understand them, so PLEASE do not mark as duplicate. I can understand the idea behind these answers, but I can't implement them. I don't know what to do with the code provided in the answers.
I have Succeeded in making some transparent buttons and placing them on the image, but the buttons move from their relative positions when testing on different screens. I would appreciate a help with the buttons stuff, or explaining a different way to do this.