In the level shrapnel every time i want to write code specifically the word throw

Welcome to the forum @Julian_Nicolas_Mende! :partying_face: This is a friendly place where you can ask help on levels, report bugs, or just chat with other coders! Don’t forget to read the guidelines if you haven’t yet. Have a great time!

So for your level, you need to add an if-statement, checking if the distance is less than 15 as you see in the comments on line 11.

if (the distance from the hero to the enemy is less than 15){
     execute the method throw
}
1 Like