

The particle moves in the x-y plane. Hence, the z-component of the position vector
and linear momentum vector becomes zero, i.e., z = pz = 0

Therefore, when the particle is confined to move in the x-y plane, the direction of angular momentum is along the z-direction.