I have an array I created in JavaScript using var mainList = [1]; and then adding numbers to it using mainList.push(i). I need to access these using their position to change a sprite's height. How do I access these JavaScript arrays in Construct 3's parameters menu?
var mainList = [1];
mainList.push(i). I need to access these using their position to change a sprite's height. How do I access these JavaScript arrays in Construct 3's parameters menu?
(Also, how do you edit a post?)
Develop games in your browser. Powerful, performant & highly capable.
var myArray = []; myArray.push(1); console.log(myArray[0]);