Sentence:  They were looking on the ground, absorbed in thought. The manager was <WSD>switching</WSD> his leg with a slender twig: his sagacious relative lifted his head. 
Meaning of the word marked with <WSD> tags:  To whip or hit with a switch.