When I select 2 shapes created using Merge Drawing mode, and try to access in JSFL using the code:
Think for a moment about what MERGE drawing mode actually does.
The 2 shapes created are separated from each other, I understand if they overlap.
Copy link to clipboard
Unfortunately, a raw shape is treated as one single object in terms of "selection". But, you can iterate through contours within the shape and detect separate closed areas. See this thread:
Thanks Vlad, very helpful.