I have created a set of array values as follows:
Array","parameters":{"x":"0","y":"0","value":"2"}
Array","parameters":{"x":"0","y":"1","value":"1"}
Array","parameters":{"x":"0","y":"2","value":"3"}
I want to loop through each values "2,1,3) on the click of a button so each values is used in a global variable.
On button click
For unknown reason, this only picks the first value which is 2 and ignores the rest 1,3.