Hi, JLH1964.
Here is an example. It uses only the sine behavior (as Rjan said). All you have to change is the main origin point (which is set by default in the middle of each sprite). Then, set the sine behavior on Forward/Backward movement, and TACHAAAN!