This example is showing you how to program the smooth flow of a sprite from edge to edge and return in the opposite direction. Can be used to simulate a fish swimming.