BGOFS layer,x,y,z There's no time parameter, so you'll have to offset it every frame to make it scroll smoothly. The coordinates are the screen coordinates of the top left pixel of the background layer, so if you want it to go to the left, you'll need to use a negative x coordinate.