I’m very glad to know that you use NodeCanvas in your game 🙂
I’ve just added your request to the roadmap, in which by the way there are some other search capabilities as well.
Thanks a lot for your suggestion as well as your initial code.
I will try to implement this as soon as possible.