To download the example project click here.
Add the object you want to be moving.
Include another picture in the object's looks which illustrates the movement.
Insert the following bricks into the scripts of the object in order to continually change the object's position after a certain time. Additionally you can margin the stage by bouncing if on edge.