# App Lab Unit 5 - Transparent GIF is the problem of the bug - How to fix it?

**URL:** <https://forum.code.org/t/app-lab-unit-5-transparent-gif-is-the-problem-of-the-bug-how-to-fix-it/11844>\
**Category:** CS Principles\
**Created:** [November 9, 2017, 2:35am UTC](https://forum.code.org/t/app-lab-unit-5-transparent-gif-is-the-problem-of-the-bug-how-to-fix-it/11844 "2017-11-09T02:35:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![awei](https://avatars.discourse-cdn.com/v4/letter/a/e495f1/32.png) [@awei](https://forum.code.org/u/awei)\
**Post date:** [November 9, 2017, 2:35am UTC](https://forum.code.org/t/app-lab-unit-5-transparent-gif-is-the-problem-of-the-bug-how-to-fix-it/11844/1 "2017-11-09T02:35:08Z")

</div>

Dear AP CSP teachers,

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

Lots of my students encountered the same problem as the one I posted above. While they clicked on the object (a banana), it’s not taking them to the “you lose” screen since the photo of the banana has the transparent background around; therefore, while we clicked on the transparent background, it wouldn’t take us to the next screen. Do any one of you know how to fix the problem? Thank you.

---

<div class="post-metadata">

**Author:** ![frank\_w\_lee](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/frank_w_lee/32/4895_2.png) [@frank\_w\_lee](https://forum.code.org/u/frank_w_lee)\
**Post date:** [November 9, 2017, 4:01am UTC](https://forum.code.org/t/app-lab-unit-5-transparent-gif-is-the-problem-of-the-bug-how-to-fix-it/11844/2 "2017-11-09T04:01:29Z")

</div>

To clarify, it sounds like you’re saying the problem is the game pretty much works as expected - except when the user clicks somewhere very close to the banana (on the banana _image_ but not the banana itself), it counts as clicking the banana instead of resulting in “you lose”.

I don’t think there’s any way to fix the problem. The closest might be to edit the image itself and crop off any margins around the banana to reduce the undesired effect, but there would still leave some “empty” transparent spaces around certain parts of the banana.
