Why is this not working

He is trying to get the fish to swim over to the bear but it will only move back and forth. What are we missing?

https://studio.code.org/projects/gamelab/fFDdleXbqNcQVSRbS_vH95I0kKpj3MyuU1VxFrK73WU

You can’t create your variables inside the draw loop. look at the code after I remixed it.
Remix

3 Likes

Mr. Riley,

Thanks for helping out AND using the AWESOME remix feature, it’s a great tool for the classroom.

Brad