# Animations using a texture atlas

**URL:** <https://phaser.discourse.group/t/animations-using-a-texture-atlas/2663>\
**Category:** Phaser 3\
**Created:** [June 4, 2019, 11:30pm UTC](https://phaser.discourse.group/t/animations-using-a-texture-atlas/2663 "2019-06-04T23:30:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![theman0123](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/theman0123/32/486_2.png) [@theman0123](https://phaser.discourse.group/u/theman0123)\
**Post date:** [June 4, 2019, 11:30pm UTC](https://phaser.discourse.group/t/animations-using-a-texture-atlas/2663/1 "2019-06-04T23:30:49Z")

</div>

I’m trying to animate from a texture atlas. but my texture atlas is grouped according to animation sequence per png. for example: ‘capguy\_east-west\_walk.png’ would contain all the frames for the walk sequence but it is embedded in the atlas…

How do I get the frame names or equivalent from the atlas so I can create the anims?

note: I followed this [tutorial](https://www.codeandweb.com/texturepacker/tutorials/how-to-create-sprite-sheets-for-phaser3) but the texture I’m working with would have all the animations under one png file called ‘capguy\_east-west\_walk.png’ instead of a folder of single png files.

---

<div class="post-metadata">

**Author:** ![samme](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/samme/32/5275_2.png) [@samme](https://phaser.discourse.group/u/samme)\
**Post date:** [June 4, 2019, 11:48pm UTC](https://phaser.discourse.group/t/animations-using-a-texture-atlas/2663/2 "2019-06-04T23:48:45Z")

</div>

See create() in [loader/texture atlas json/load texture atlas](https://labs.phaser.io/edit.html?src=src%5Cloader%5Ctexture%20atlas%20json%5Cload%20texture%20atlas.js).
