I don't get it

It moves down the Z, until I uncomment the MazeLoader::IsBlocked
function, then it will only move across the X