---
title: Z-order
brief: This example shows how to put one sprite in front of another
scripts: z_order.script
---

![z order](z_order.png)

There is one game object containing the background sprite. It is set at Z position 0.
The bunny is another game object containing a sprite. The bunny game object is at Z position 1.
