How can I call a specific "Sprite" from

Hello, everybody.
I successfully seperated the png into 10 sprites, the size are all 32 x 32.
My question is Can I call a specific frame or sprite but not use “nextFrame() or preFrame()” to call it?

Thanks for your help!!

;D hi! that’s pretty easy! just call on the function

mysprite.setframe(3);

all frame starts at 0. so if you have a total of 5 frames (5 concatenated images) the index of the first frame is 0 up to 4. i suggest for you to use an IDE with autocomplete so that you can study the methods possible for an object (or whatever)… like the Sun Java Mobility.

I see , Thank you very much!! :slight_smile: