− | the function '''on.paint'''(''[[:Category:gc|gc]]'') is called when the GUI is painted. ''[[:Category:gc|'gc']]'' is the Graphics Context
| + | The function '''on.paint'''(''[[:Category:gc|gc]]'') is called when the script's window needs to be painted. ''[[:Category:gc|'gc']]'' is the Graphics Context, passed by default to the function. |