Im going to take as a example a quantum well (i.e 2DEG). Literature says that motion of electrons is quantised in the vertical direction for a 2DEG, therefore motion in the vertical direction is forbidden. The way I understand this is , if motion in the vertical direction is quantised, it means the particle can take certain (discrete) energy values in that direction, meaning its k-vector in that direction can take certain values therefore it can move in that direction. I know I am wrong in my reasoning, I just do not know where? Some light please :)