This was just added in the latest version (2023.01.25). It might only be available on the Dev Branch right now.
Returns NPCs max view distance. An NPC will not be able to see enemies outside of this distance.
1 number dist
The maximum distance the NPC can see at.