Hello,
I have several objects that are wrapped in a group(group A). Group A is then wrapped within another group(group B)
I’m trying to get the position of one of the objects within group A by logging it to the console log.
At the moment I have this:
function myRepeatingFunction() {
console.log("Object position = " + object8Position);
}
//call myRepeatingFunction every 2000ms (2 seconds)
Z.every(2000, myRepeatingFunction);
This works but the numbers don’t change. I’m guessing as they are contained within a group.
Any ideas on how I can change this?
Thanks
Simon