Where the move ended: to when open, otherwise the last sampled position that was still allowed.
to
true when the move was stopped short of to by a wall-height step or a hole in the grid
Where the move ended:
towhen open, otherwise the last sampled position that was still allowed.