maxDistance

GameObjectQuery maxDistance(double maxDistance)

Only match entities who are at most the specified distance away from our player

Return

this query

Parameters

maxDistance

the max distance of entities to find