I am trying to dynamicly set the size of max objects.
I am using java script to look up a specifc object and
change its size. The js docs list the following:
rect (Array, get/set)
The location of an object in a patcher. When the object's rectangle is
changed, it will
move on screen if it is visible. The coordinates are stored in the
following order: left, top, right, bottom.
This sounds like what I want, but when I run the following code,
it does not modify the size or location of my object. Am I doing this
Is rect the right property I should be using?
testobj.rect.left = 0;
testobj.rect.top = 0;
testobj.rect.right = 50;
testobj.rect.bottom = 50;