Magnetic force is given by the formula
[tex]F=qvB\sin\theta[/tex]Here, q is the charge on the particle.
v is the velocity of the charged particle.
B is the magnetic field
The angle is between the magnetic field and the direction of the moving charged particles.
When the charge will move parallel to the field, the force will be zero as the angle is zero.
When the charge will move perpendicular to the field, the force will be maximum as the angle will be 90 degrees and the sine of 90 degrees is 1.
Thus, it depends on the component of the particle's velocity that is perpendicular to the field.