Refer to this guide I wrote up: How to refer to different parts of the API while scripting - #4 by yaustar
Specifically:
Try the following:
console.log("hello"+this.Objects[i].script.positionThis.myIndex);
Refer to this guide I wrote up: How to refer to different parts of the API while scripting - #4 by yaustar
Specifically:
Try the following:
console.log("hello"+this.Objects[i].script.positionThis.myIndex);