Scrolling an Image and Repeat itself

Considering how we have Sprites and TilingSprites now, how do you exactly make something move or scroll horizontally or vertically? For ex:

Milena.prototype.letMeScroll = function() { this.tileSprite = new Sprite(); this.tileSprite.bitmap = ImageManager.loadSystem("Grass");}Milena.prototype.scrollMe = function() {//how to scroll tileSprite horz or vertically here?}I want it to work like how Planes work in RMVXAce, where when you scroll the image the image repeats itself, not like a sprite that doesn't.
Use the TilingSprite origin property:

Code:
Milena.prototype.letMeScroll = function() {  this.tileSprite = new TilingSprite();  this.tileSprite.bitmap = ImageManager.loadSystem("Grass");}Milena.prototype.scrollMe = function(x, y) {  this.tileSprite.origin.x += x;  this.tileSprite.origin.y += y;}
Hmm, I have just one more problem, may I ask why the sprite doesn't show on the screen when I use TilingSprite? When I use Sprite it shows just fine, but TilingSprite, it doesn't.

Original thread: https://forums.rpgmakerweb.com/threads/scrolling-an-image-and-repeat-itself.49599/