fidget
When someone is fidgeting, they are constantly moving their hands or feet around. This can be a sign of anxiety or nervousness.
He was constantly fidgeting with his hands, which was very distracting.
She was constantly fidgeting with her hair, which was a sign that she was nervous.