Unit 3 Level 20 - My student's sprite will not react to keyboard input!

We need help with Unit 3 Level 20!

My student’s sprite should move upwards when the up arrow is pressed.

The sprite will not move when the up arrow is pressed.

We took apart the code, and the sprite will move up a few pixels at a time when I remove the conditional statements checking the limits of the y coordinate to bring the sprite back down/prevent it from falling through the floor.


Hmmm… When I change the conditional to check if the y is greater than 298, it seems to work just fine … without that, the y is at 299 and the up key will never come into play. Am i missing something?