I’m a first year CS Discoveries teacher and am trying to code a sprite to travel back and forth (not randomly) across part of the screen (think fish in a fish bowl. Attached is the current version of the code.
With this code the fish starts on the right of the bowl, gets to the left side and switches to the right facing fish and doesn’t move. I understand why…but I don’t know what to do instead.
Thank you in advance for whatever suggestions you can throw my way. I have also been playing with If/Else and If/Else if…not sucessfully.