Non-contiguous sprite sequences?

Question:

My sprite table is built like this:
01 02 03 04 05
06 07 08 09 10
11 12 13 14 15
16 17 18 19 20

I know how to transition a sprite table for a contiguous sequence 1 to 20.

Is there a way to sequence through vertically 01, 06, 11, 16?

Thank you!

David

[import]uid: 96411 topic_id: 21437 reply_id: 321437[/import]

you could use

for y = 1, 20, 5 do
or
if (y%5)+1 == 1 then [import]uid: 7911 topic_id: 21437 reply_id: 84865[/import]

or you could use this

http://developer.anscamobile.com/reference/index/spritenewspritemultiset [import]uid: 12482 topic_id: 21437 reply_id: 84870[/import]

Thanks Jstrahan.

I guess there is no method via the sprite API’s and other than horizontally contiguous cells must be manually animated?

David

Update: posted before seeing hgvyas123 post! Thank you! [import]uid: 96411 topic_id: 21437 reply_id: 84872[/import]