Your code
Set the two speeds.
Console
Results
0%
Press Run to check your code
Your code has an error
Set the two speeds.
Why not 100%?
Penalties: none this run
Two fish, two variables, and one rule doing the working out for both of them. nextX has no idea which fish it is answering for, so the speed has to come in as an input rather than live in the body.
Set the two speeds.
Set the two speeds.
Set the two speeds.