I have to write a simple fishing program. This is the problem I am having:
The fish has to stay below a certain point on the Y axis. Obviously, fish can't fly. I tried using the getY to define some if statements, but it doesn't work. Any suggestions?

