I have changed the function as you suggested but the same effect.....only the first arrays value are writed....the others "0,0"....
Maybe the error is in the moveobject function?
I increment the position of the two array inside the function move.....
Maybe the error is in the moveobject function?
I increment the position of the two array inside the function move.....