Rocking is a word that implies movement, either back and forth or side to side. There are many synonyms that can be used to describe such movements. One alternative could be swaying, which often suggests a more gentle or relaxed motion. Another synonym is oscillating, which can describe more rapid or irregular rocking movements. Shaking is another option, although this tends to imply a more violent or forceful motion. Other words that can be used as synonyms for rocking include wobbling, bobbing, jiggling, and swiveling. Depending on the context, certain synonyms may be more appropriate than others, but all of these words can effectively convey the idea of motion.