there is nothing wrong with calling test() and from there a lot of other functions. That’s the purpose of draw().
While has disadvantages. It halts the reaction of draw() for the mouse I think. This is about draw() works, not about the access to the class.