How do I disable looping of the animation?


I notice that the animation loops in both the editor and the player. Can I this disabled this in the editor? In the player? I would like it to stop on the last frame. I know I can create an update event handler in which I count the frames and call stop() on the last one, but there must be a more straight-forward way. Thanks.



I think that the only way to stop it is the “stop()” command.



Hey @david672orford, @DylanExists is right. Adding a stop() call to your last frame will stop the animation in the player.

What is the goal for your animation though? Do you want the exported gif to stop, or just want it to play once when previewing?

1 Like