stimming
Self-stimulatory behavior, also known as stimming, is the repetition of physical movements, sounds, words, moving objects, or other behaviors. Such behaviors are found to some degree in all people, especially those with developmental disabilities such as ADHD, as well as autistic people.
https://en.wikipedia.org/wiki/Stimming