CSD Lesson 13 Bubble 2 Predict not working as I'd expect?

Am I mis-reading the code?
Seems to me that the balloon should only grow if I press the space bar.
If I just let it run and press nothing, it still grows.
If I press the space bar, it seems to shrink and then grow

1 Like

Hi Andrea,

When the program starts, the balloon will be flipped and scale up with a negative scale value. Once you press and hold the spacebar the balloon will decrease in size, flip upright and begin to increase in size. This happens when the condition is true. When you release the spacebar, the balloon decreases in size because the condition is false.

I hope this makes since,

1 Like