Challenge Magic Exam pls help

You could use: item = hero.findNearestItem().
If that doesn’t work could you post your full code, and remember to format your code as dictated by the FAQ. link(FAQ - Check Before Posting)
Hope this helps! :grin: