# Sprite Issues - not working correctly

**URL:** <https://forum.code.org/t/sprite-issues-not-working-correctly/14071>\
**Category:** Unit and Lesson Discussion\
**Tags:** csd-unit-3, csd-unit-3-lesson-22\
**Created:** [February 1, 2018, 2:14pm UTC](https://forum.code.org/t/sprite-issues-not-working-correctly/14071 "2018-02-01T14:14:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rachel.krone](https://avatars.discourse-cdn.com/v4/letter/r/e36b37/32.png) [@rachel.krone](https://forum.code.org/u/rachel.krone)\
**Post date:** [February 1, 2018, 2:14pm UTC](https://forum.code.org/t/sprite-issues-not-working-correctly/14071/1 "2018-02-01T14:14:29Z")

</div>

- A student is creating his own sprite and after he creates it and sets the animation, the sprite disappears (this is a student who is very strong in computer science so it is not lack of knowledge). This has happened to others as well.
- A student is going to the animation tab to create a new sprite and as he is trying to create a second sprite, it is not allowing it to happen, it is just showing the animation of the first sprite.

We are trying to figure out if this is a district issue or if others are having similar issues. Also, if you have any suggestions on how to help trouble shoot I would appreciate them.

---

<div class="post-metadata">

**Author:** ![karenma](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/karenma/32/4924_2.png) [@karenma](https://forum.code.org/u/karenma)\
**Post date:** [February 2, 2018, 5:23am UTC](https://forum.code.org/t/sprite-issues-not-working-correctly/14071/2 "2018-02-02T05:23:28Z")

</div>

I have escalated this to the [Code.org](http://Code.org) team. A couple of suggestions: Can you report this as a bug so the [Code.org](http://Code.org) team can check into this? It maybe helpful to post the students’ code so the team can look for possible problems.

---

<div class="post-metadata">

**Author:** ![nread](https://avatars.discourse-cdn.com/v4/letter/n/f08c70/32.png) [@nread](https://forum.code.org/u/nread)\
**Post date:** [February 2, 2018, 7:03pm UTC](https://forum.code.org/t/sprite-issues-not-working-correctly/14071/3 "2018-02-02T19:03:43Z")

</div>

I have had this happen with one student, also a very strong programmer. They sprites were basic shapes, not overly complicated, but they all disappeared from the animation tab

---

<div class="post-metadata">

**Author:** ![bradleywellsashley](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/bradleywellsashley/32/522_2.png) [@bradleywellsashley](https://forum.code.org/u/bradleywellsashley)\
**Post date:** [February 3, 2018, 4:16pm UTC](https://forum.code.org/t/sprite-issues-not-working-correctly/14071/4 "2018-02-03T16:16:25Z")

</div>

Nancy,

Sorry to hear - please submit a Bug Ticket so that the [Code.org](http://Code.org) team can look into this.

Brad

---

<div class="post-metadata">

**Author:** ![rfeitlinger](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/rfeitlinger/32/3203_2.png) [@rfeitlinger](https://forum.code.org/u/rfeitlinger)\
**Post date:** [May 11, 2018, 6:25pm UTC](https://forum.code.org/t/sprite-issues-not-working-correctly/14071/5 "2018-05-11T18:25:04Z")

</div>

I am having the same issue with a student’s sprite on Unit 3 Lesson 14. I submitted a bug report, but anyone seeing something that I am not seeing. For some reason the sprite eggplant is not showing up.

[The code](https://studio.code.org/projects/gamelab/QI13vI8P463bYaHkIk4EnbIep-yRxe6FCmRJm1c24Vc)

---

<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:** [May 11, 2018, 11:36pm UTC](https://forum.code.org/t/sprite-issues-not-working-correctly/14071/6 "2018-05-11T23:36:09Z")

</div>

@rfeitlinger

Hi Ross,

The reason the eggplant is not showing up is that it’s touching the spatula, which causes it to disappear. When you first run the program, the mouse is off the game area, so when the computer gets its x and y coordinates, it makes them both 0. That means that the spatula is located at (0,0) and touches the eggplant, causing it to disappear as soon as the game starts.

Update: I just talked to someone one the Game Lab team, and they are looking at a fix that would make the default x and y of the mouse be a different number that is further off the screen. This would fix the problem moving forward.

Elizabeth
