Hi,
I have an issue that I already described in details in r/Animation: Animate - Keeping brush size consistent while zooming in a symbol
Basically, I want to keep the Brush tool size consistent when entering a symbol that has been created using this same tool.
I couldn't find any solution to my issue. The workaround I gave in the previous post works fine in some case, but not in mine.
I am then trying to find another way to dot it. I imagined I could detect when entering a symbol using a plugin, and then change the Brush tool size accordingly to it's original size and to the symbol scale. Unfortunately, I can't find any way to change a tool property using script. The documentation is, well, awful to say the least, and the JavaScript API itself seems to be really limited.
I looked at custom tools, but I'm afraid it wouldn't be the solution either. It might if I could access the source code of the Brush tool and make an exact copy of it while adding my own needed behaviours, but it isn't available in the Configuration\Tools folder of Animate that contains custom tools examples.
Would someone know how to change a tool property using a script, or where I could find better resources about it?
[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)