Debugging Bird to disappear between two Y-Axis coordinates

[Posts in the debugging category need to have the following pieces of information included in order to help other teachers or our moderator team best help you. Feel free to delete everything in brackets before posting your request for debugging help.]

Game Lab -](Game Lab -

**My student wants the bird to disappear if the bird’s y gets less than 140 or greater than 200.

What actually happens is that whatever IF statement comes first will work but the other will not.

Different orders and different visuals:


Maybe they could use the “or” block in the “math blocks” to create a statement that checks for either of the two possibilities? This is what it looks like.

Screen Shot 2023-01-11 at 1.43.29 PM

Good luck!


1 Like