I want to increase the X Axis or the Y Axis of a Mutliballgrid by scripting.
Did not find out how to do this.
Tried it like this:
Code: Select all
decl agrid,x,y;
agrid = getattribute(ContainerTopLeft.MultiballOne, 'grid');
x = agrid.x[0];
y = agrid.x[1];
x++;
setexpression(ContainerTopLeft.MultiballOne, 'grid.x[0]', x);
setexpression(ContainerTopLeft.MultiballOne, 'grid.x[1]', y);
Is there any possibility to change the grid rows and columns dynamically?