Notifications
Clear all

[Closed] Monitoring mousetrack functions

Hi, in my PolyDraw tools I’m using mousetrack functions to perform the actions. I’d like to know if there is a way to know if a mousetrack function is running at a given moment and stop it if nessecary? I need it when the user presses a button to stop all running mousetracks and begin a new one.

I guess I could have a global value store if a tool is running or not, but I still don’t know a way to turn the mousetrack off. I’d rather not do it from inside the mousetrack since then the user needs to either click or move the mouse to perform any action. I want it exactly when the user presses an interface button.
Thanks for any help,

CML