# Is there an example runner?

**URL:** <https://phaser.discourse.group/t/is-there-an-example-runner/5877>\
**Category:** Phaser 3\
**Created:** [April 11, 2020, 11:44am UTC](https://phaser.discourse.group/t/is-there-an-example-runner/5877 "2020-04-11T11:44:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tactics](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/tactics/32/1744_2.png) [@tactics](https://phaser.discourse.group/u/tactics)\
**Post date:** [April 11, 2020, 11:44am UTC](https://phaser.discourse.group/t/is-there-an-example-runner/5877/1 "2020-04-11T11:44:03Z")

</div>

Hello . Please tell me how to make the background move endlessly. There is one background picture, I don’t understand how to make it move correctly. Can use groups? Is there an example runner?

Sorry for my English, it’s hard to understand the Faser.js documentation. because I don’t really understand English.

thanks!

---

<div class="post-metadata">

**Author:** ![BlunT76](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/blunt76/32/1454_2.png) [@BlunT76](https://phaser.discourse.group/u/BlunT76)\
**Post date:** [April 11, 2020, 12:27pm UTC](https://phaser.discourse.group/t/is-there-an-example-runner/5877/2 "2020-04-11T12:27:36Z")

</div>

Hi,  
The trick seems to use:

```javascript
var iter = 0;
function create () {
  // use tileSprite instead of image or sprite
  var background = this.add.tileSprite(400, 300, 800, 600, 'yourBackgroundimage');
}
function update() {
  background.tilePositionX += iter;
  iter += 0.01;
}

```

Not tested, based on this example:  
[http://labs.phaser.io/edit.html?src=src\game%20objects\tile%20sprite\Example.js](http://labs.phaser.io/edit.html?src=src%5Cgame%20objects%5Ctile%20sprite%5CExample.js)

---

<div class="post-metadata">

**Author:** ![tactics](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/tactics/32/1744_2.png) [@tactics](https://phaser.discourse.group/u/tactics)\
**Post date:** [April 11, 2020, 8:45pm UTC](https://phaser.discourse.group/t/is-there-an-example-runner/5877/3 "2020-04-11T20:45:58Z")

</div>

Спасибо ! Thank you very much, I will do as in the example.
