Function findGroundBelow

  • Walks down column x starting at y for at most maxDist rows (inclusive of the start). Returns the first solid y in range, or null when the range is exhausted with no hit.

    Returns null if maxDist is non-positive.

    Parameters

    Returns number | null