Move your boat with the mouse pointer. if you touch green your ship gets destroyed if you touch yellow you found the treasure!
This is part of the 20 games to create on Scratch booklet and studio. I recommend the book if you are just a beginner. Soon the book will make you a master coder in no time!!!