function getVehiclesInRangeOfPos(pos, distance) { return getVehicles().filter(x => x.position.distance(pos) <= range);}