Why can't I access the thing in library in my class


If I write all things in the Main, it can work

How can I treat this things, I don’t want to write all this kind objects in Main and deliver it to the class
How can I directly use the library in class .

Hello @huxx

Please, copy, paste and format your code.
Screen shots are difficult to read and people cannot run your code to test how it is working.
Help us help you!! :slightly_smiling_face:

Also, please clarify “thing”…



I’m sorry for my informal format, and this is the new link: How to directly use the class from library in my class - Processing.py - Processing Foundation