# How to get scrolling tiled background image?

**URL:** <https://forum.defold.com/t/how-to-get-scrolling-tiled-background-image/55753>\
**Category:** Questions\
**Created:** [June 23, 2019, 10:51am UTC](https://forum.defold.com/t/how-to-get-scrolling-tiled-background-image/55753 "2019-06-23T10:51:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![TheKing0x9](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/theking0x9/32/13588_2.png) [@TheKing0x9](https://forum.defold.com/u/TheKing0x9)\
**Post date:** [June 23, 2019, 11:18am UTC](https://forum.defold.com/t/how-to-get-scrolling-tiled-background-image/55753/2 "2019-06-23T11:18:01Z")

</div>

There are two ways to do this:

1. You create a sprite that moves itself in a direction constantly, and resets it’s position to the initial position when it goes out of bounds, pretty much like what the Runner tutorial does for the platforms
2. You create a material, like @pkeod explained [here](https://forum.defold.com/t/repeating-texture/49201/2)

---

_[View the full topic](https://forum.defold.com/t/how-to-get-scrolling-tiled-background-image/55753)._
