As you can see in the pictures i made below, The 5th row is empty with NULL in it.
I don't understand why its happaned.
Please help me
Develop games in your browser. Powerful, performant & highly capable.
alex3160 I don't use arrays frequently but isn't there an action called "DELETE" to remove array element.
Just found the answer.
From the begining the array was with 1 width, So its not empty from the beginning.
Now i am remove the 1 and set it empty and its work.
THANK YOU FOR FAST ANSWER AND TRY.
An array of size 1, 1, 1 starts with 1 blank cell. if you push 4 things to it, it will then have a width of 5. Try starting with array size of 0,1,1.