Washer will spin and drain but doesnt agitate

Need to open the front panel and observe the motor and pulleys during agitation mode. Check to see if the motor pulley, belt and drive pulley are turning. If not, is it the motor that is humming? If the motor is humming but not turning, turn the washer off and try rotating the motor pulley CCW (viewed from below). This should turn the belt and drive pulley and make the agitator turn back and forth. If it turns by hand ok but the motor just hums, you may have a bad electronic control panel. The electronic control reverses polarity of the power to the motor start windings which reverses direction of the motor. One direction is spin and the other is agitate.

Eric