maxPathDistance

open fun maxPathDistance(maxDistance: Double): QueryType

Only match entities who are at most the specified path distance away from our player (the distance it would take to actually walk there based on the surrounding obstacles/collision)

Return

this query

Parameters

maxDistance

the max distance of entities to find