# Help with student code

**URL:** <https://forum.code.org/t/help-with-student-code/34540>\
**Category:** Unit and Lesson Discussion\
**Tags:** csd-unit-3\
**Created:** [April 7, 2021, 3:23pm UTC](https://forum.code.org/t/help-with-student-code/34540 "2021-04-07T15:23:38Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [April 7, 2021, 5:29pm UTC](https://forum.code.org/t/help-with-student-code/34540/3 "2021-04-07T17:29:24Z")

</div>

My initial thought without seeing the project is that the scale block is causing the ufo to “flip inside-out” once it gets smaller than zero. You would think logically that once the size gets to 0, it would disappear, however, a negative size (caused by the scale continuing to decrease) will actually cause the sprite to start growing again, but flipped.

See this previous thread for more information.

> [@CSD Unit 3 Lesson 16 Level 2](https://forum.code.org/t/csd-unit-3-lesson-16-level-2/33776):
>
> Any chance someone could explain to me why the balloon scale increases even though the space bar isn’t pressed? (Its scale decreases but then it begins to increase and I can’t see why.) [Unit 3 Lesson 16 Bubble 2](https://studio.code.org/projects/gamelab/zVZEZKsX86Fn7KeCl5dAijoJocHXd_T8P6NCkhdHKI8)

Mike

---

_[View the full topic](https://forum.code.org/t/help-with-student-code/34540)._
