The scanning coils consist of two solenoids oriented in such a way as to create two magnetic fields perpendicular to each other. Varying the current in one solenoid causes the electrons to move left to right. Varying the current in the other solenoid forces these electrons to move at right angles to this direction (left to right) and downwards.