I made this in case anyone was making a random generated ocean. WASD and arrow keys both work. If you don't want endless then check out my project Limited Ocean (https://scratch.mit.edu/projects/446653320/)!
This was all from scratch. When you go into a corner it is kind of glitchy so I advise not to.