# Error message about animations existing

**URL:** <https://forum.code.org/t/error-message-about-animations-existing/26553>\
**Category:** Coding and Debugging Help\
**Created:** [April 25, 2019, 5:13pm UTC](https://forum.code.org/t/error-message-about-animations-existing/26553 "2019-04-25T17:13:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![molson](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@molson](https://forum.code.org/u/molson)\
**Post date:** [April 25, 2019, 5:13pm UTC](https://forum.code.org/t/error-message-about-animations-existing/26553/1 "2019-04-25T17:13:57Z")

</div>

My student is creating a game but the error message pops up that says:  
ERROR: Line: 10: Error: Unable to find an animation named “pickcar”. Please make sure the animation exists.  
However, if we look in the animation tab, the animation “pickcar” does exist. If we remove this line of code, the error message will just be for the next line with another animation not found. The link to the activity is here: [[https://studio.code.org/projects/gamelab/IKFCHy4U5e9rJmuogTuUQYXn-nnWPs4BNKlgJENXsk0](https://studio.code.org/projects/gamelab/IKFCHy4U5e9rJmuogTuUQYXn-nnWPs4BNKlgJENXsk0)]

---

<div class="post-metadata">

**Author:** ![elizabeth\_admin](https://avatars.discourse-cdn.com/v4/letter/e/bb73d2/32.png) [@elizabeth\_admin](https://forum.code.org/u/elizabeth_admin)\
**Post date:** [April 25, 2019, 5:44pm UTC](https://forum.code.org/t/error-message-about-animations-existing/26553/2 "2019-04-25T17:44:16Z")

</div>

Hi Molly,

This issue is actually further down in the program. You have a function named “setup”, which is breaking the regular setup of the program. If you rename that function “mySetup” (can rename all the function calls), the program should work properly.

I’m talking to the developers now about either getting a better warning system for this or making it so that a user’s “setup” function can’t redefine the regular “setup” function.

Elizabeth

---

<div class="post-metadata">

**Author:** ![molson](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@molson](https://forum.code.org/u/molson)\
**Post date:** [May 3, 2019, 8:56am UTC](https://forum.code.org/t/error-message-about-animations-existing/26553/3 "2019-05-03T08:56:52Z")

</div>

Thank you so much! That did fix the problem.
