These behaviours are different from tics; the detailed movements are often not stereotyped, and there is a distinct purpose to the movements.
The person has an almost superstitious concern over the consequences of not performing the compulsion.