And, where is the problem?
Make a function in your module, called "MyCreateCanvas" which they have to use in order to have your module working.
Then you can keep it active.
If you do not have the full knowledge of all created canvases, your plan is quite pointless as you need to know what is where and when to do it on a usefull level.
Make a function in your module, called "MyCreateCanvas" which they have to use in order to have your module working.
Then you can keep it active.
If you do not have the full knowledge of all created canvases, your plan is quite pointless as you need to know what is where and when to do it on a usefull level.