If I use code that makes an object, calling "newdefault" is very straightforward. However, if I want to control more than the x,y, and type of object, it is less clear.
By using this.patcher.newobject I know that I first have to pass the type as an argument, then coordinates but then what can I pass? If I want to set the background color attribute (which is not listed in the reference) can I do that in an argument?
//This way puts a "1" in the message box and does not ignore clicks
z[i] = this.patcher.newobject("message", 100+(i*100), 100,100,50, ignoreclick=true);
//If I delete ignoreclick=true (above) and add this outside of the declaration: z[i].ignoreclick=true; it ignores clicks
In short, how do I know which parameters I can use with each class of object? The reference lists 13, but I do not know how to access any other than rect and maxclass in the arguments.