I've recently started using Construct 3, and I've noticed that the handling of arrays is a bit different than in other programming languages (at least as far as the event sheet is concerned).
I would need to insert inside a cell of an array, another array, and then remove it and get the array just removed.
Using normal JS I would like to recreate this code:
myArray = []
myArray.push([a, b])
var [a,b] = myArray.pop()
Unfortunately, I noticed that Construct only allows you to work on one axis at a time (x or y), and so I can't populate the array with the two new values.
Same problem for when I want to pop the inserted array.
Can someone explain me how it works and how I should act in these two cases?