# Best way to use sprite sheets for animation

**URL:** <https://forum.defold.com/t/best-way-to-use-sprite-sheets-for-animation/80504>\
**Category:** Questions\
**Created:** [May 15, 2025, 9:32am UTC](https://forum.defold.com/t/best-way-to-use-sprite-sheets-for-animation/80504 "2025-05-15T09:32:13Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![schlista](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/schlista/32/33758_2.png) [@schlista](https://forum.defold.com/u/schlista)\
**Post date:** [May 15, 2025, 9:32am UTC](https://forum.defold.com/t/best-way-to-use-sprite-sheets-for-animation/80504/1 "2025-05-15T09:32:13Z")

</div>

Am I missing something or is it only possible to have the sprites in order from 1, 2, 3, etc…for the animations in spritesheets?

For example, use Kenny’s latest platformer enemies spritesheet. notice the animations need to go vertical, but defold only does sequential from left to right. So I can say animate starting at 4 and ending at 9, but I can’t say animate 12, 20, 28, 36. Is this accurate? If so should this be a feature change request or am I silly for thinking we should be able to choose the tiles to animate?

 ![image](https://forum-defold-uploads.b-cdn.net/original/3X/2/b/2b07c5708187b84a03976ce2e56dcf0dedaf37b9.jpeg)

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [May 15, 2025, 9:35am UTC](https://forum.defold.com/t/best-way-to-use-sprite-sheets-for-animation/80504/2 "2025-05-15T09:35:12Z")

</div>

> [@schlista](#):
>
> For example, use Kenny’s latest platformer enemies spritesheet. notice the animations need to go vertical, but defold only does sequential from left to right

He did what? I’m surprised. Why this sudden change? All his old assets have animations ordered left to right.

There’s nothing to do about it in Defold. You need to change the source image or use individual images and create an atlas instead.

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [May 15, 2025, 9:38am UTC](https://forum.defold.com/t/best-way-to-use-sprite-sheets-for-animation/80504/3 "2025-05-15T09:38:55Z")

</div>

I asked him on Bluesky: [@britzl.bsky.social on Bluesky](https://bsky.app/profile/britzl.bsky.social/post/3lp77qtp7ts2v)

---

<div class="post-metadata">

**Author:** ![schlista](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/schlista/32/33758_2.png) [@schlista](https://forum.defold.com/u/schlista)\
**Post date:** [May 15, 2025, 9:39am UTC](https://forum.defold.com/t/best-way-to-use-sprite-sheets-for-animation/80504/4 "2025-05-15T09:39:06Z")

</div>

You can see the images in the sheet. They are vertical aligned. So this is not normal is what you’re saying.

---

<div class="post-metadata">

**Author:** ![schlista](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/schlista/32/33758_2.png) [@schlista](https://forum.defold.com/u/schlista)\
**Post date:** [May 15, 2025, 9:42am UTC](https://forum.defold.com/t/best-way-to-use-sprite-sheets-for-animation/80504/5 "2025-05-15T09:42:20Z")

</div>

You can download his latest platformer pack here: [New Platformer Pack · Kenney](https://kenney.nl/assets/new-platformer-pack)

look at the enemies spritesheet. They are vertical aligned.

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [May 15, 2025, 9:45am UTC](https://forum.defold.com/t/best-way-to-use-sprite-sheets-for-animation/80504/6 "2025-05-15T09:45:05Z")

</div>

> [@schlista](#):
>
> So this is not normal is what you’re

I suppose there are other tools that can work with both left-\>right and top-\>bottom ordered sprites, but Defold can’t.

---

<div class="post-metadata">

**Author:** ![Mathias\_Westerdahl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/mathias_westerdahl/32/228_2.png) [@Mathias\_Westerdahl](https://forum.defold.com/u/Mathias_Westerdahl)\
**Post date:** [May 15, 2025, 9:51am UTC](https://forum.defold.com/t/best-way-to-use-sprite-sheets-for-animation/80504/7 "2025-05-15T09:51:17Z")

</div>

> [@britzl](#):
>
> There’s nothing to do about it in Defold.

Yet. I think we sorely need more ways to define an animation from a sprite sheet, using e.g. individual duplicated frames, ranges etc.

---

<div class="post-metadata">

**Author:** ![schlista](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/schlista/32/33758_2.png) [@schlista](https://forum.defold.com/u/schlista)\
**Post date:** [May 15, 2025, 11:13am UTC](https://forum.defold.com/t/best-way-to-use-sprite-sheets-for-animation/80504/8 "2025-05-15T11:13:49Z")

</div>

> [@britzl](#):
>
> I suppose there are other tools that can work with both left-\>right and top-\>bottom ordered sprites, but Defold can’t.

Should I put in a request to allow us to do this? It would be a huge quality of life feature to allow me to just set the properties of the spritesheet order to make an animation for me. It will save me from needing to divide the spritesheet and make various animations from it. I could easily just say use cell x, y, x1, y1, x2, y2 etc… for this animation.

---

<div class="post-metadata">

**Author:** ![schlista](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/schlista/32/33758_2.png) [@schlista](https://forum.defold.com/u/schlista)\
**Post date:** [May 15, 2025, 11:14am UTC](https://forum.defold.com/t/best-way-to-use-sprite-sheets-for-animation/80504/9 "2025-05-15T11:14:50Z")

</div>

I’ll file the request so it can be added if the team agrees.

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [May 15, 2025, 12:35pm UTC](https://forum.defold.com/t/best-way-to-use-sprite-sheets-for-animation/80504/10 "2025-05-15T12:35:16Z")

</div>

> [@schlista](#):
>
> It will save me from needing to divide the spritesheet and make various animations from it.

Note that Kenney also provides individual sprite images in all of his bundles:

 ![CleanShot 2025-05-15 at 14.35.01@2x](https://forum-defold-uploads.b-cdn.net/original/3X/6/0/60add0d28a1b0ce6c18003bb73fa9d866e36a9e1.png)

---

<div class="post-metadata">

**Author:** ![gianmichele](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/gianmichele/32/24028_2.png) [@gianmichele](https://forum.defold.com/u/gianmichele)\
**Post date:** [May 15, 2025, 5:25pm UTC](https://forum.defold.com/t/best-way-to-use-sprite-sheets-for-animation/80504/11 "2025-05-15T17:25:40Z")

</div>

Possibly also expand atlases so that you can provide an image that has all of the sprites and provide the size of each cell to access them to create the animations. I think both Godot and Unity approach it like this as well as the single images.
