Copy link to clipboard
Copied
Hello, guys!
I would like to know is there any way to detect click outside an object in Animate CC?
There is no problem to use it inside HTML DOM, I understand how to do that with parent node, but in CANVAS - no ideas (except lower layer with 1% transparency).
So, any ideas how to use JS for solving the problem:
1. Window is open.
2. Outside click closes the Window.
Thank you!
Copy link to clipboard
Copied
In your html page, the id for the animate composition is "animation_container". Use that.
Just because it is canvas does not make a difference I think.