# Stop / Resume animation by code

**URL:** <http://forum.squareline.io/t/stop-resume-animation-by-code/3121>\
**Category:** How to\
**Created:** [June 4, 2024, 6:28am UTC](http://forum.squareline.io/t/stop-resume-animation-by-code/3121 "2024-06-04T06:28:11Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Hermit](http://forum.squareline.io/user_avatar/forum.squareline.io/hermit/32/971_2.png) [@Hermit](http://forum.squareline.io/u/Hermit)\
**Post date:** [June 5, 2024, 7:47am UTC](http://forum.squareline.io/t/stop-resume-animation-by-code/3121/2 "2024-06-05T07:47:40Z")

</div>

You can delete the animation to stop it by lv\_anim\_del, checking this topic might give you more details: [Temporary Screen with an infinite loop animation crashes when deleted - #4 by Hermit](https://forum.squareline.io/t/temporary-screen-with-an-infinite-loop-animation-crashes-when-deleted/2039/4)  
Restarting it would take the same code as running it in the first place.

---

_[View the full topic](http://forum.squareline.io/t/stop-resume-animation-by-code/3121)._
