How to define lines and check on click which body is clicked?
How can I define lines so when I click on the screen, my program knows whether I clicked on A B or C?
You're viewing a single thread.
what environment is this? where is this going to be used?
Seriously! How can we even make a suggestion without knowing some basic info like language or API. Even ancient Win32 (using C, C#, or VB6) has the ability to create regions and test to see if a given point is inside a specific region.