How do you modify the size and position of a shape dynamically?

How do you modify the size and position of a shape dynamically?
none 0.0 0

Hi @cncgeorge,

For information related to arrays in JavaScript, please see mozilla or Oracle documentation. In general, an array can be declared as:
var arr = new Array();
Here is a link to a project that allows the creation and retention of multiple shape objects: Link. When you have time, please review this project and let me know if you have any questions.

Note: Within the project mentioned above, the object index should be defined before issuing a command.