# Foreground tiles?

**URL:** <https://forum.makecode.com/t/foreground-tiles/22278>\
**Category:** Arcade\
**Tags:** graphics-and-math, extension, tutorial, art\
**Created:** [September 5, 2023, 3:09pm UTC](https://forum.makecode.com/t/foreground-tiles/22278 "2023-09-05T15:09:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arexcl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/arexcl/32/10427_2.png) [@Arexcl](https://forum.makecode.com/u/Arexcl)\
**Post date:** [September 5, 2023, 3:09pm UTC](https://forum.makecode.com/t/foreground-tiles/22278/1 "2023-09-05T15:09:28Z")

</div>

Is there anyway to put tiles in front of the player? I know you can put sprites on those tiles but that can cause lag.

---

<div class="post-metadata">

**Author:** ![Luke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/luke/32/32519_2.png) [@Luke](https://forum.makecode.com/u/Luke)\
**Post date:** [September 5, 2023, 6:13pm UTC](https://forum.makecode.com/t/foreground-tiles/22278/2 "2023-09-05T18:13:34Z")

</div>

Unfortunately no would be very nice though  
edit thought you were talking about layering tilemaps whoops

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [September 5, 2023, 6:13pm UTC](https://forum.makecode.com/t/foreground-tiles/22278/3 "2023-09-05T18:13:45Z")

</div>

Try making a sprite have a Z index of less than -1. (I think that is the tilemap Z index)
