Error message (ThornBush farm)


#1

Hey I keep getting this error message and I can’t find anything wrong with my code,


#2

Here is a better screenshot that dose not block the code,


#3

maybeBuildTrap is a reusable snippet of code. It doesn’t need { }.

Instead of copy pasting the function, you just need to call the function like you would if you were moving to an XY position.

Look at line 15 for an example.

Be sure to read the instructions and sample code given to you.


#4

Um I tried fixing it and this happend,


#5

You’re going to need to reset the level.

Be sure to read the comments and sample code!


#6

Yep thanks for the help!