# Is there a way to get a image of only the tiles/sprites?

**URL:** <https://forum.makecode.com/t/is-there-a-way-to-get-a-image-of-only-the-tiles-sprites/12015>\
**Category:** Help\
**Tags:** graphics-and-math\
**Created:** [February 3, 2022, 10:32pm UTC](https://forum.makecode.com/t/is-there-a-way-to-get-a-image-of-only-the-tiles-sprites/12015 "2022-02-03T22:32:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hasanchik](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/hasanchik/32/5885_2.png) [@hasanchik](https://forum.makecode.com/u/hasanchik)\
**Post date:** [February 3, 2022, 10:32pm UTC](https://forum.makecode.com/t/is-there-a-way-to-get-a-image-of-only-the-tiles-sprites/12015/1 "2022-02-03T22:32:12Z")

</div>

We have game.currentScene().background(), but do we also have something like game.currentScene().spritesImage()? game.currentScene().tilesImage()?

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [February 3, 2022, 10:37pm UTC](https://forum.makecode.com/t/is-there-a-way-to-get-a-image-of-only-the-tiles-sprites/12015/2 "2022-02-03T22:37:17Z")

</div>

We don’t really render the screen in that way; instead everything is drawn to the screen based on z-index. Lower z-indices go first, and higher ones go last.

The tilemap is also in this stack; it actually has a z value of -1. If you set a sprite to have a lower z than that; it will render behind it!

Detailed docs can be found [here](https://arcade.makecode.com/developer/game-loop) (check out the “Game Render Step” heading)

---

<div class="post-metadata">

**Author:** ![hasanchik](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/hasanchik/32/5885_2.png) [@hasanchik](https://forum.makecode.com/u/hasanchik)\
**Post date:** [February 4, 2022, 4:53pm UTC](https://forum.makecode.com/t/is-there-a-way-to-get-a-image-of-only-the-tiles-sprites/12015/3 "2022-02-04T16:53:58Z")

</div>

Ok, makes sense
