Just move your mouse to where you want the boat to go If you touch the island you lose If you touch the treasure you win
I made this when I first started scratch with a scratch book and never published it so I thought I might as well publish it