# Playing part of an animation xml file

**URL:** https://forum.castle-engine.io/t/playing-part-of-an-animation-xml-file/432
**Category:** Uncategorized
**Created:** [October 8, 2021, 5:40pm UTC](https://forum.castle-engine.io/t/playing-part-of-an-animation-xml-file/432 "2021-10-08T17:40:05Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![michalis](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/michalis/32/3_2.png) [@michalis](https://forum.castle-engine.io/u/michalis)
#### Post date: [October 11, 2021, 10:35am UTC](https://forum.castle-engine.io/t/playing-part-of-an-animation-xml-file/432/6 "2021-10-11T10:35:38Z")

</div>

Sorry, I don’t follow what your code above tries to do.

- You should load the scene from a sprite sheet. There is no `AnimationsList.LoadFromURL`.

- You should play all animations with one call to `RunAnimationList(Player.TurnScene, 'kyleyturnfronttosw’,‘kyle....`). There’s no point for a loop there (`for AnimationName in Player.TurnScene.AnimationsList do...`).

My advise:

- create a new project, with a viewport with 2D camera, that only contains one scene with a sprite sheet.

- Try to adjust my code from [Play all animations in sequence - #8 by michalis](https://forum.castle-engine.io/t/play-all-animations-in-sequence/315/8) to implement `RunAllAnimations` in that new simple project. See that it works.

- Then remake it to implement `RunAnimationList` as I described above.

---

_[View the full topic](https://forum.castle-engine.io/t/playing-part-of-an-animation-xml-file/432)._
