# How to make an animation only proceed one frame at a time?

**URL:** <https://forum.makecode.com/t/how-to-make-an-animation-only-proceed-one-frame-at-a-time/18954>\
**Category:** Help\
**Tags:** game\
**Created:** [April 4, 2023, 7:51pm UTC](https://forum.makecode.com/t/how-to-make-an-animation-only-proceed-one-frame-at-a-time/18954 "2023-04-04T19:51:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![CreativeUsername](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/creativeusername/32/9601_2.png) [@CreativeUsername](https://forum.makecode.com/u/CreativeUsername)\
**Post date:** [April 4, 2023, 7:51pm UTC](https://forum.makecode.com/t/how-to-make-an-animation-only-proceed-one-frame-at-a-time/18954/1 "2023-04-04T19:51:57Z")

</div>

Title says it all ^

---

<div class="post-metadata">

**Author:** ![randomuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/randomuser/32/32505_2.png) [@randomuser](https://forum.makecode.com/u/randomuser)\
**Post date:** [April 5, 2023, 3:46pm UTC](https://forum.makecode.com/t/how-to-make-an-animation-only-proceed-one-frame-at-a-time/18954/2 "2023-04-05T15:46:27Z")

</div>

Hmm. You could have an array of images and each time you need to display the next image, you could do ‘Set sprite image to (array get value at ((index sprite image) + 1))’ You would also have to check if the sprite is displaying the image at the end to display the first image, to avoid errors!

---

<div class="post-metadata">

**Author:** ![Samsano](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/samsano/32/8307_2.png) [@Samsano](https://forum.makecode.com/u/Samsano)\
**Post date:** [April 5, 2023, 3:49pm UTC](https://forum.makecode.com/t/how-to-make-an-animation-only-proceed-one-frame-at-a-time/18954/3 "2023-04-05T15:49:32Z")

</div>

In the ‘animate’ block try putting 1 second, like this  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/b/b11de56e744ec1bee7b2e81622facecf1dcf5dc0.png)

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [April 5, 2023, 4:04pm UTC](https://forum.makecode.com/t/how-to-make-an-animation-only-proceed-one-frame-at-a-time/18954/4 "2023-04-05T16:04:11Z")

</div>

Fun fact: animations are just arrays!

> **[one-frame-at-a-time](https://arcade.makecode.com/S45270-66929-63174-73143)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![CreativeUsername](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/creativeusername/32/9601_2.png) [@CreativeUsername](https://forum.makecode.com/u/CreativeUsername)\
**Post date:** [April 5, 2023, 4:05pm UTC](https://forum.makecode.com/t/how-to-make-an-animation-only-proceed-one-frame-at-a-time/18954/6 "2023-04-05T16:05:59Z")

</div>

Huh, didn’t know that. Thank you!

---

<div class="post-metadata">

**Author:** ![CreativeUsername](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/creativeusername/32/9601_2.png) [@CreativeUsername](https://forum.makecode.com/u/CreativeUsername)\
**Post date:** [April 5, 2023, 5:32pm UTC](https://forum.makecode.com/t/how-to-make-an-animation-only-proceed-one-frame-at-a-time/18954/7 "2023-04-05T17:32:30Z")

</div>

My entire project got deleted [again](https://forum.makecode.com/t/sprites-being-deleted/18884) so it’ll be a while until this project gets finished. Time to make this project for the third time. I hope third time will be the charm
