@mozipha
This is what I ended up going with it’s a little messy but I’ll put it here incase it’s helpful to anyone else. I’m working with sprites so I believe I can’t just sprite[0] = sprite[1]. If you can I haven’t been able to get it to work.
Thanks again.
function remove(ref o_array, index)
array n_array[len(o_array) - 1]
var offset = 0
var i
for i = 0 to len(n_array) loop
if i == index then
offset = 1
endif
n_array = createSprite()
setSpriteImage( n_array[i], block_image )
setSpritelocation( n_array[i], getSpriteLocation( o_array[ i + offset ] ).x, getSpriteLocation( o_array[ i + offset ] ).y + ( offset *8 ))
setSpritecolor( n_array[i], getSpriteColor( o_array[ i + offset ] ) )
removeSprite( o_array[i] )
repeat
removeSprite(o_array[ len(o_array) - 1 ] )
return n_array