Hi,
chrisinfinger is right you only need ONE object called arrow/bullet with different animation frames and an instance variable called colors/typ.
Thats much easier than having an object for each different arrow.
It doesent work because the curent value is not 0 nor 1 or 2
The current value is the content of the cell NOT the x-coordinate.
Also current value only works in an loop.
(It is the content of the cell which is actually accessed in the "for each element loop".)
You need someting like that:
on touch:
spawn bullet
set bullet color/typ to array.at(0)
pop front
Imagen your array as a bullet clip full of colors...you shoot the first one and the second is then becoming the first one and you shoot it again. The position you shoot from is always the first but the colorbullet in it changes..