The other half of the ship has fallen into the end of a coral tube, and you must code your agent to break the amethyst so you can pass through.
You need to figure out how to tell your agent to move through the coral tube.
Your agent will need to break any amethyst crystals in the way.
The reset button will move your agent back to the start of the coral tube (and replace any destroyed amethyst), so you can build your code in small pieces and reset when you know whether it works.
Press C to open Code Builder.
If Code Builder doesn't open, watch the "Troubleshooting Code Builder" video.
Make sure you're in Make Code.
If you're not in Make Code, the Troubleshooting Code Builder video has instructions for changing your editor.
Create a new project called "Coral"
Press the "reset" button next to the Coding Coach to get your agent into starting position.
You may also want to code that position into your coral code
You will need a combination of movement and action blocks.
If you look closely at the path the agent must follow, you will be able to see squares to count.
There are enough gaps in the coral for you to see the entire path if you move around.
Remember that the agent will need to move up sometimes as well.
You will need some combination of these blocks (turn is optional), but you may come up with other combinations as well.
If you're still stuck, you can download this broken, incomplete code and try to finish it yourself: