The effect of magnetic field on plasma particles in dusty plasma