Why is this not working


#1

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


#2

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


#3

Mr. Riley,

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

Brad