[finishes #70326004]: add random direction for moveDistance block