How can I make overlapping shapes clickable

Magnus Wallon 0 Reputation points

Hi, had this problem from time to time since I work with apps for kids. I want to make irraguated shapes that might overlap each others clickable like in this simple example image. How would you do that in .Net Maui? Hope the problem was understandable?
User's image

A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,832 questions
{count} votes