Copy link to clipboard
Copied
When I select 2 shapes created using Merge Drawing mode, and try to access in JSFL using the code:
Hi,
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:
https://community.adobe.com/t5/animate/jsfl-how-to-get-separate-bounding-boxes-for-shapes-in-merge-drawing-mode/m-p/10596651?page=1#M196252
Copy link to clipboard
Copied
Think for a moment about what MERGE drawing mode actually does.
Copy link to clipboard
Copied
The 2 shapes created are separated from each other, I understand if they overlap.
Copy link to clipboard
Copied
Hi,
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:
https://community.adobe.com/t5/animate/jsfl-how-to-get-separate-bounding-boxes-for-shapes-in-merge-d...
Copy link to clipboard
Copied
Thanks Vlad, very helpful.