How does wagging the tail work?

How does wagging the tail work?

Source: link Download: link Add Favorites

How does wagging the tail work?