move back and forth

definition: move in one direction and then into the opposite direction
example:
speech part: verb
synonyms:

How move back and forth is being used?