What am I?

In the sun I like to play; in the rain I goes away; walk or run I always follow; in the mud I always wallow.