For superbitmapped layers this function work like this:. It updates the contents of the superbitmap with what is visible on the display, repositions the superbitmap and redraws the display. For non-superbitmapped layers, all subsequent (x,y) pairs are adjusted by the scroll(x,y) value in the layer. If ScrollLayer(-10,-3) was called and (0,0) is drawn it will finally end up at coordinates (10, 3) in the superbitmap.