Why does this not work in Interception?


Somehow no matter what I do there is an error. This is my code:


you should add in hero.findNearest() with hero.findNearestFriends()


It make sure to do it correctly


You have defined friend as an array of friends. Then, when you define x, it is a list and cannot be a specific x position.