Hi @John_Moone, welcome to the CodeCombat Discourse.
I think what’s stopping your code is this line:
If you want to call a function you need to use brackets ().
Please could you post all your code, formatted:
And then I’ll be able to help you more.
It may also be something to do with hero.debug(), I’m not sure that’s actually a method and it may be causing the error.
Thanks
Danny