findNearestItem error


I have this error in GD3 and GD2. Only one student of mine has this error:

Any help to solve will be appreciated.


if you are trying to give yourself the position of an item use the game object instead of the hero

1 Like

the hero does not have the function findNearestItem()

1 Like

Thanks for your response, that is the problem because he should have the function.

what do you intend to do with the variable item?

i can take a look at what your problem is better if u tell me what you intend to do

@TeacherPeter You should change this to a bugs topic because only 1 of your students is having this error

1 Like

done!! (20 characters)

1 Like