# Request for Help with Flashing Sprites in Unit 3 Game Lab

**URL:** <https://forum.code.org/t/request-for-help-with-flashing-sprites-in-unit-3-game-lab/37398>\
**Category:** Coding and Debugging Help\
**Tags:** csd-unit-3\
**Created:** [December 20, 2022, 3:32pm UTC](https://forum.code.org/t/request-for-help-with-flashing-sprites-in-unit-3-game-lab/37398 "2022-12-20T15:32:18Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![meredith1.leeson](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@meredith1.leeson](https://forum.code.org/u/meredith1.leeson)\
**Post date:** [December 20, 2022, 3:32pm UTC](https://forum.code.org/t/request-for-help-with-flashing-sprites-in-unit-3-game-lab/37398/1 "2022-12-20T15:32:18Z")

</div>

**Link to the project or level:** [Game Lab - Code.org](https://studio.code.org/projects/gamelab/2MUUsnSv3at_LfIb4eX5_VjUYP4GTxex61Vfue6YXSg)

**What I expect to happen:** Player sprite to appear constantly without flashing or blinking

**What actually happens:** Player sprite flashes/blinks when code is run

**What I’ve tried:** Comparing code to the my own example as well as the [Code.org](http://Code.org) example code to identify differences

---

<div class="post-metadata">

**Author:** ![mwood](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/mwood/32/4941_2.png) [@mwood](https://forum.code.org/u/mwood)\
**Post date:** [December 20, 2022, 4:18pm UTC](https://forum.code.org/t/request-for-help-with-flashing-sprites-in-unit-3-game-lab/37398/2 "2022-12-20T16:18:46Z")

</div>

The project doesnt appear to be shared. Can you turn on sharing?

Without seeing it, though, my best guess is that there is something wrong with the animation.

Open the animation tab and see if anything looks funny and/ or delete the animation and re-add it.

That may solve the problem.

Let us know!

Mike

---

<div class="post-metadata">

**Author:** ![meredith1.leeson](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@meredith1.leeson](https://forum.code.org/u/meredith1.leeson)\
**Post date:** [December 20, 2022, 4:30pm UTC](https://forum.code.org/t/request-for-help-with-flashing-sprites-in-unit-3-game-lab/37398/3 "2022-12-20T16:30:13Z")

</div>

Sorry about that! It should be shared now. The animation does have two frames each (for right and left) but that appears simpler to the other examples that are not blinking.

Anything you might be able to identity as the cause for this issues would be great. It seems to be impact about a quarter of my students.

Thanks again!  
Mer

---

<div class="post-metadata">

**Author:** ![mwood](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/mwood/32/4941_2.png) [@mwood](https://forum.code.org/u/mwood)\
**Post date:** [December 20, 2022, 5:20pm UTC](https://forum.code.org/t/request-for-help-with-flashing-sprites-in-unit-3-game-lab/37398/4 "2022-12-20T17:20:16Z")

</div>

Thanks.

The left facing sprite appears to be corrupted. In the animation tab, when i click on it, it blinks.

I’ve seen this in the past and the only way i know to fix it is to delete it and re-add it.

It just happens from time to time, but I’m not sure why.

Mike

---

<div class="post-metadata">

**Author:** ![meredith1.leeson](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@meredith1.leeson](https://forum.code.org/u/meredith1.leeson)\
**Post date:** [December 20, 2022, 5:33pm UTC](https://forum.code.org/t/request-for-help-with-flashing-sprites-in-unit-3-game-lab/37398/5 "2022-12-20T17:33:54Z")

</div>

Thanks very much, Mike! I’ll let the impacted students know to delete and re-add any blinking sprites going forward. Really appreciate your confirmation that I wasn’t missing a deeper root cause!

Mer

---

<div class="post-metadata">

**Author:** ![thiggins](https://avatars.discourse-cdn.com/v4/letter/t/a698b9/32.png) [@thiggins](https://forum.code.org/u/thiggins)\
**Post date:** [January 30, 2023, 6:00pm UTC](https://forum.code.org/t/request-for-help-with-flashing-sprites-in-unit-3-game-lab/37398/6 "2023-01-30T18:00:47Z")

</div>

Just wanted to let everyone know I’m experiencing the same bug with the blinking sprites. We delete and re-add, but it’s an unending cycle so we now just deal with it. It used to only happen with some students, but now it’s almost all of my students.

---

<div class="post-metadata">

**Author:** ![mwood](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/mwood/32/4941_2.png) [@mwood](https://forum.code.org/u/mwood)\
**Post date:** [January 30, 2023, 6:28pm UTC](https://forum.code.org/t/request-for-help-with-flashing-sprites-in-unit-3-game-lab/37398/7 "2023-01-30T18:28:50Z")

</div>

@thiggins,

Please report that to [support@code.org](mailto:support@code.org) so it’s on the engineer’s radar. It hasn’t spread like wildfire with my students yet, but it is a bug I think it would be good to get looked at.

Mike

---

<div class="post-metadata">

**Author:** ![thiggins](https://avatars.discourse-cdn.com/v4/letter/t/a698b9/32.png) [@thiggins](https://forum.code.org/u/thiggins)\
**Post date:** [February 1, 2023, 5:58pm UTC](https://forum.code.org/t/request-for-help-with-flashing-sprites-in-unit-3-game-lab/37398/8 "2023-02-01T17:58:50Z")

</div>

Here is a link to a student’s project that keeps flashing. I will also send a message to support. Thank you!

> **[Check out what I made](https://studio.code.org/projects/gamelab/-iEic33imjh8k-B4oPOmdb8Bj5VR5lfZhno_mMWUOHc)**
>
> I wrote the code myself with Code.org

Tamra

---

<div class="post-metadata">

**Author:** ![mwood](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/mwood/32/4941_2.png) [@mwood](https://forum.code.org/u/mwood)\
**Post date:** [February 1, 2023, 6:58pm UTC](https://forum.code.org/t/request-for-help-with-flashing-sprites-in-unit-3-game-lab/37398/9 "2023-02-01T18:58:54Z")

</div>

@thiggins,

Yes, it appears that your sunset background is flashing. I’m sure if they delete it and re-upload it, it would work, but it is annoying to have to do that. I’m not sure what causes the issue, but reporting it can’t hurt.

Mike

---

<div class="post-metadata">

**Author:** ![reynoldsj](https://avatars.discourse-cdn.com/v4/letter/r/59ef9b/32.png) [@reynoldsj](https://forum.code.org/u/reynoldsj)\
**Post date:** [April 7, 2023, 2:58am UTC](https://forum.code.org/t/request-for-help-with-flashing-sprites-in-unit-3-game-lab/37398/10 "2023-04-07T02:58:00Z")

</div>

This has happened to most of my students as well in the past few months. I have found a quick fix, although I do hope it gets worked out soon.

To fix flashing sprites: Go to the animation tab, and click on the offending animation. Add a frame, then delete it. Somehow, that fixes it, although it’s a bit whack-a-mole too because another sprite often starts flashing next.
