How to use "wagging" in a sentence

Sentences

He stood there, wagging his tail.

Jasper had moved towards the drawing-room, wagging his tail.