Why does this not work in Interception?


#1

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


#2

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


#3

It make sure to do it correctly


#4

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.