# Stop Animation, return to sprite origin created frame

**URL:** <https://phaser.discourse.group/t/stop-animation-return-to-sprite-origin-created-frame/8259>\
**Category:** Phaser 3\
**Created:** [December 2, 2020, 9:28am UTC](https://phaser.discourse.group/t/stop-animation-return-to-sprite-origin-created-frame/8259 "2020-12-02T09:28:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Avicus](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@Avicus](https://phaser.discourse.group/u/Avicus)\
**Post date:** [December 2, 2020, 9:28am UTC](https://phaser.discourse.group/t/stop-animation-return-to-sprite-origin-created-frame/8259/1 "2020-12-02T09:28:44Z")

</div>

Hi,  
Got a problem with animation.

I suck all animations from json:

> this.load.animation(‘animations’, ‘src/assets/sprite-sheets/multipack/animations.json’);  
> I create sprite and setTexture form multiatlas:  
> star.setTexture(“multiatlas”, “black\_Star”);

and it works great.  
then I want to play animation on it.  
Got many stars frames diff colours and so on.  
so I write:

> star.play("yellow\_star\_anim);

It works, I got my animation playing \<3  
**Problem starts here:**  
Right now I need to go back to my origin texture “black\_Star”.  
I tried:

> star.stop();  
> star.setFrame(“black\_Star”);  
> but in console.log I got a message that frame is missing.

I need to play an animation, stop it and return to origin created sprite texture frame.

---

<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:** [December 2, 2020, 6:13pm UTC](https://phaser.discourse.group/t/stop-animation-return-to-sprite-origin-created-frame/8259/2 "2020-12-02T18:13:59Z")

</div>

If you switched textures then I assume you need to do `setTexture(…)` again.
