Two routes work. The short one takes 17 moves:
Left, up, right, right, right, up, right, up, right, down, left, down, down, down, down, down, left.
In shorthand: L U R3 U R U R D L D5 L
Left, up, right, right, right, up, right, down, down, down, down, left, left, up, right, right, up, up, up, up, right, down, left, down, down, down, down, down, down, down, left.
The 17-move line is tighter and leaves less room for error, so learn that one first. Remember the block keeps sliding until it hits a wall — every input is a commitment.