# Trouble with layers

**URL:** <https://forum.makecode.com/t/trouble-with-layers/1190>\
**Category:** Arcade\
**Created:** [February 11, 2020, 4:59pm UTC](https://forum.makecode.com/t/trouble-with-layers/1190 "2020-02-11T16:59:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DrainageBasin](https://avatars.discourse-cdn.com/v4/letter/d/ce7236/32.png) [@DrainageBasin](https://forum.makecode.com/u/DrainageBasin)\
**Post date:** [February 11, 2020, 4:59pm UTC](https://forum.makecode.com/t/trouble-with-layers/1190/1 "2020-02-11T16:59:08Z")

</div>

How do you make a sprite appear above or below another sprite?

---

<div class="post-metadata">

**Author:** ![jwunderl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jwunderl/32/5308_2.png) [@jwunderl](https://forum.makecode.com/u/jwunderl)\
**Post date:** [February 11, 2020, 5:44pm UTC](https://forum.makecode.com/t/trouble-with-layers/1190/2 "2020-02-11T17:44:27Z")

</div>

You can set the sprite’s z index in the same dropdown you use to set x / y / vx / vy - a higher z index will be rendered on top of a lower one (e.g. the score and life bars have an index of 100, and a sprite starts at 0 if i remember correctly)
