animation once

S

seojaeoh

Guest
Is there a way to play an animation from a sprite only once?
 
You can either use the Animation End event to stop the animation, or use a code equivalent:
Code:
if (image_index+image_speed >= image_number) {
  //stop animation here
}
 
Top