This code:
var side = random.choice([-1,1]);
gives an error: myArray is not defined
So does this:
var array = [-1,1];
var side = random.choice(array);
This code:
var side = random.choice([-1,1]);
gives an error: myArray is not defined
So does this:
var array = [-1,1];
var side = random.choice(array);
Oops, that was my bad. Just fixed this and it should be out in the next update.