How to Access Class Properties in While Loop

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.

2 Likes