Work is always done when
an object moves
an object has potential energy
a force moves an object
a force is applied perpendicular to the direction of the object's motion